Skip to content

Instantly share code, notes, and snippets.

@garrettr
Created June 9, 2017 07:13
Show Gist options
  • Save garrettr/cf8016b8008e619b663406c2d75e010c to your computer and use it in GitHub Desktop.
Save garrettr/cf8016b8008e619b663406c2d75e010c to your computer and use it in GitHub Desktop.
sunder npm run test npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'test' ]
2 info using npm@3.10.10
3 info using node@v6.11.0
4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle sunder@0.1.0~pretest: sunder@0.1.0
6 silly lifecycle sunder@0.1.0~pretest: no script for pretest, continuing
7 info lifecycle sunder@0.1.0~test: sunder@0.1.0
8 verbose lifecycle sunder@0.1.0~test: unsafe-perm in lifecycle true
9 verbose lifecycle sunder@0.1.0~test: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/garrett/code/freedomofpress/sunder/node_modules/.bin:/Users/garrett/.cargo/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin
10 verbose lifecycle sunder@0.1.0~test: CWD: /Users/garrett/code/freedomofpress/sunder
11 silly lifecycle sunder@0.1.0~test: Args: [ '-c',
11 silly lifecycle 'cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js' ]
12 silly lifecycle sunder@0.1.0~test: Returned: code: 1 signal: null
13 info lifecycle sunder@0.1.0~test: Failed to exec test script
14 verbose stack Error: sunder@0.1.0 test: `cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:891:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid sunder@0.1.0
16 verbose cwd /Users/garrett/code/freedomofpress/sunder
17 error Darwin 16.6.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test"
19 error node v6.11.0
20 error npm v3.10.10
21 error code ELIFECYCLE
22 error sunder@0.1.0 test: `cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js`
22 error Exit status 1
23 error Failed at the sunder@0.1.0 test script 'cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the sunder package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error cross-env NODE_ENV=test mocha --compilers js:babel-core/register --recursive --require ./test/setup.js test/**/*.spec.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs sunder
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls sunder
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment