Skip to content

Instantly share code, notes, and snippets.

@garbas
Created May 3, 2016 15:41
Show Gist options
  • Save garbas/e0e925f065e96ba3bea1bc4451c78b69 to your computer and use it in GitHub Desktop.
Save garbas/e0e925f065e96ba3bea1bc4451c78b69 to your computer and use it in GitHub Desktop.
[nix-shell] ~/d/m/r/s/r/neo ❯❯❯ npm run test
> [email protected] test /home/rok/dev/mozilla/relengapi/src/relengapi_tools/neo
> karma start
03 05 2016 17:22:13.417:ERROR [config]: Invalid config file!
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/rok/dev/mozilla/relengapi/src/relengapi_tools/neo/karma.conf.js:2:23)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.parseConfig (/home/rok/dev/mozilla/relengapi/src/relengapi_tools/neo/node_modules/karma/lib/config.js:284:22)
at new Server (/home/rok/dev/mozilla/relengapi/src/relengapi_tools/neo/node_modules/karma/lib/server.js:57:20)
npm ERR! Linux 4.5.2
npm ERR! argv "/nix/store/x9q2ahc2sygwg1v0ii3w39f668lqdjnx-nodejs-4.3.1/bin/node" "/nix/store/gwq5p945s4z253g82djrr954r6x45fdg-nodejs-npm-3.8.7/bin/npm" "run" "test"
npm ERR! node v4.3.1
npm ERR! npm v3.8.7
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test: `karma start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script 'karma start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the neo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! karma start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs neo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls neo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/rok/dev/mozilla/relengapi/src/relengapi_tools/neo/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment