Ad
  • Custom User Avatar

    Javascript

    Returning this error

    /runner/frameworks/javascript/cw-2.js:237
    throw ex;
    ^

    TypeError: require is not a function
    at /home/codewarrior/index.js:57:14
    at /home/codewarrior/index.js:72:5
    at Object.handleError (/runner/frameworks/javascript/cw-2.js:233:11)
    at Object. (/home/codewarrior/index.js:3:6)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at [eval]:1:1
    at ContextifyScript.Script.runInThisContext (vm.js:50:33)
    at Object.runInThisContext (vm.js:139:38)
    at Object. ([eval]-wrapper:6:22)
    at Module._compile (module.js:652:30)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution