Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
binwrap npm-test failure
$ npm test
> binwrap@0.2.0 test /home/aaron/github.com/binwrap
> (cd test_app && ./build_packages.sh) && mocha && eslint .
binwrap
1) "before each" hook for "fails when specified URLs don't exist"
0 passing (378ms)
1 failing
1) binwrap
"before each" hook for "fails when specified URLs don't exist":
Command failed: (cd test_app && npm run-script prepare)
internal/modules/cjs/loader.js:670
throw err;
^
Error: Cannot find module 'binwrap'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15)
at Function.Module._load (internal/modules/cjs/loader.js:591:27)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (/home/aaron/github.com/binwrap/test_app/index.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! echoMe@0.0.0 prepare: `binwrap-prepare`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the echoMe@0.0.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/aaron/.npm/_logs/2019-04-21T01_54_06_027Z-debug.log
`(cd test_app && npm run-script prepare)` (exited with error code 1)
ChildProcessError: Command failed: (cd test_app && npm run-script prepare)
internal/modules/cjs/loader.js:670
throw err;
^
Error: Cannot find module 'binwrap'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:668:15)
at Function.Module._load (internal/modules/cjs/loader.js:591:27)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object.<anonymous> (test_app/index.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! echoMe@0.0.0 prepare: `binwrap-prepare`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the echoMe@0.0.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/aaron/.npm/_logs/2019-04-21T01_54_06_027Z-debug.log
`(cd test_app && npm run-script prepare)` (exited with error code 1)
at callback (node_modules/child-process-promise/lib/index.js:33:27)
at ChildProcess.exithandler (child_process.js:306:5)
at maybeClose (internal/child_process.js:999:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
npm ERR! Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment