Skip to content

Instantly share code, notes, and snippets.

@olekhy
Created June 14, 2016 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olekhy/810f018fdbf785a28a4a69722ce553d1 to your computer and use it in GitHub Desktop.
Save olekhy/810f018fdbf785a28a4a69722ce553d1 to your computer and use it in GitHub Desktop.
npm run test
> dimabay-spa@1.9.9 test /home/a1/pro/dimabay/spa
> NODE_ENV=test mocha __tests__/.setup __tests__/**/*.spec.js --compilers js:babel-core/register --require ignore-styles
module.js:327
throw err;
^
Error: Cannot find module 'babel-register'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (.setup.js:1:1)
at Module._compile (module.js:409:26)
at loader (/home/a1/pro/dimabay/spa/node_modules/babel-core/node_modules/babel-register/lib/node.js:158:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/a1/pro/dimabay/spa/node_modules/babel-core/node_modules/babel-register/lib/node.js:168:7)
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 /home/a1/pro/dimabay/spa/node_modules/mocha/lib/mocha.js:220:27
at Array.forEach (native)
at Mocha.loadFiles (/home/a1/pro/dimabay/spa/node_modules/mocha/lib/mocha.js:217:14)
at Mocha.run (/home/a1/pro/dimabay/spa/node_modules/mocha/lib/mocha.js:469:10)
at Object.<anonymous> (/home/a1/pro/dimabay/spa/node_modules/mocha/bin/_mocha:404:18)
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 Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
npm ERR! Linux 4.4.0-24-generic
npm ERR! argv "/home/a1/.nvm/versions/node/v4.4.0/bin/node" "/home/a1/.nvm/versions/node/v4.4.0/bin/npm" "run" "test"
npm ERR! node v4.4.0
npm ERR! npm v2.14.20
npm ERR! code ELIFECYCLE
npm ERR! dimabay-spa@1.9.9 test: `NODE_ENV=test mocha __tests__/.setup __tests__/**/*.spec.js --compilers js:babel-core/register --require ignore-styles`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dimabay-spa@1.9.9 test script 'NODE_ENV=test mocha __tests__/.setup __tests__/**/*.spec.js --compilers js:babel-core/register --require ignore-styles'.
npm ERR! This is most likely a problem with the dimabay-spa package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=test mocha __tests__/.setup __tests__/**/*.spec.js --compilers js:babel-core/register --require ignore-styles
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs dimabay-spa
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls dimabay-spa
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/a1/pro/dimabay/spa/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment