Skip to content

Instantly share code, notes, and snippets.

@DimitarChristoff
Created July 10, 2012 10:44
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 DimitarChristoff/3082616 to your computer and use it in GitHub Desktop.
Save DimitarChristoff/3082616 to your computer and use it in GitHub Desktop.
npm test fails due to exit code of buster-test
> npm test
> epitome@0.0.3 test /Users/dchristoff/projects/Epitome
> node_modules/.bin/buster-test
Firefox 13.0.1, OS X 10.7 (Lion): ................................................................................
...
9 test cases, 83 tests, 83 assertions, 0 failures, 0 errors, 0 timeouts
Finished in 0.852s
npm ERR! epitome@0.0.3 test: `node_modules/.bin/buster-test`
npm ERR! `sh "-c" "node_modules/.bin/buster-test"` failed with 1
npm ERR!
npm ERR! Failed at the epitome@0.0.3 test script.
npm ERR! This is most likely a problem with the epitome package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node_modules/.bin/buster-test
npm ERR! You can get their info via:
npm ERR! npm owner ls epitome
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.0.0
npm ERR! command "node" "/usr/local/bin/npm" "test"
npm ERR! cwd /Users/dchristoff/projects/Epitome
npm ERR! node -v v0.6.16
npm ERR! npm -v 1.1.19
npm ERR! code ELIFECYCLE
npm ERR! message epitome@0.0.3 test: `node_modules/.bin/buster-test`
npm ERR! message `sh "-c" "node_modules/.bin/buster-test"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dchristoff/projects/Epitome/npm-debug.log
npm not ok
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'test' ]
info using npm@1.1.19
info using node@v0.6.16
verbose config file /Users/dchristoff/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose caching /Users/dchristoff/projects/Epitome/package.json
verbose loadDefaults epitome@0.0.3
verbose run-script [ 'pretest', 'test', 'posttest' ]
info pretest epitome@0.0.3
info test epitome@0.0.3
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "node_modules/.bin/buster-test"
silly spawning [ 'sh',
silly spawning [ '-c', 'node_modules/.bin/buster-test' ],
silly spawning '/Users/dchristoff/projects/Epitome' ]
info epitome@0.0.3 Failed to exec test script
ERR! epitome@0.0.3 test: `node_modules/.bin/buster-test`
ERR! `sh "-c" "node_modules/.bin/buster-test"` failed with 1
ERR!
ERR! Failed at the epitome@0.0.3 test script.
ERR! This is most likely a problem with the epitome package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node_modules/.bin/buster-test
ERR! You can get their info via:
ERR! npm owner ls epitome
ERR! There is likely additional logging output above.
ERR!
ERR! System Darwin 11.0.0
ERR! command "node" "/usr/local/bin/npm" "test"
ERR! cwd /Users/dchristoff/projects/Epitome
ERR! node -v v0.6.16
ERR! npm -v 1.1.19
ERR! code ELIFECYCLE
ERR! message epitome@0.0.3 test: `node_modules/.bin/buster-test`
ERR! message `sh "-c" "node_modules/.bin/buster-test"` failed with 1
ERR! errno {}
verbose exit [ 1, true ]
#!/bin/bash
./node_modules/.bin/buster-test
echo "Exit status" $?
@DimitarChristoff
Copy link
Author

when test.sh runs, the output is just:

> ./test.sh 
Firefox 13.0.1, OS X 10.7 (Lion): ................................................................................ 
                                  ...                                                                              
9 test cases, 83 tests, 83 assertions, 0 failures, 0 errors, 0 timeouts
Finished in 0.785s
Exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment