Skip to content

Instantly share code, notes, and snippets.

@silverwind
Created May 31, 2015 16:10
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 silverwind/a94589df8e3aae1907e1 to your computer and use it in GitHub Desktop.
Save silverwind/a94589df8e3aae1907e1 to your computer and use it in GitHub Desktop.
test-npm
$ make test-npm
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C out BUILDTYPE=Release V=1
make[1]: Nothing to be done for `all'.
ln -fs out/Release/iojs iojs
NODE_EXE=iojs tools/test-npm.sh
client is deprecated, use socket instead
deep-equal@1.0.0 node_modules/deep-equal
nock@2.2.0 node_modules/nock
├── propagate@0.3.1
├── lodash@2.4.1
├── debug@1.0.4 (ms@0.6.2)
└── chai@1.10.0 (assertion-error@1.0.0, deep-eql@0.1.3)
tap@1.1.4 node_modules/tap
├── exit-code@1.0.2
├── foreground-child@1.2.0
├── supports-color@1.3.1
├── buffer-equal@0.0.1
├── signal-exit@2.1.2
├── readable-stream@1.1.13 (isarray@0.0.1, string_decoder@0.10.31, core-util-is@1.0.1)
├── tap-mocha-reporter@0.0.13 (escape-string-regexp@1.0.3, diff@1.4.0, debug@2.2.0)
├── tap-parser@1.1.4 (events-to-array@1.0.2)
├── coveralls@2.11.2 (lcov-parse@0.0.6, log-driver@1.2.4, js-yaml@3.0.1, request@2.40.0)
├── js-yaml@3.3.1 (esprima@2.2.0, argparse@1.0.2)
└── nyc@2.2.1 (spawn-wrap@1.0.1, strip-bom@1.0.0, yargs@3.10.0, lodash@3.9.3, istanbul@0.3.14)
> npm@2.11.0 test-all /Users/silverwind/git/iojs/test-npm
> npm run test-legacy && npm test
> npm@2.11.0 test-legacy /Users/silverwind/git/iojs/test-npm
> node ./test/run.js
# testing in /var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654
# global prefix = /var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/root
+node "/Users/silverwind/git/iojs/test-npm/bin/npm-cli.js" install "/Users/silverwind/git/iojs/test-npm"
$$$$$$ cd /var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/root; PATH=/usr/local/bin:/var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/root/bin:/var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/root/node_modules/.bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/silverwind/git/iojs/test-npm/node_modules/.bin:/Users/silverwind/git/iojs/test-npm/bin/node-gyp-bin:/Users/silverwind/git/iojs/test-npm/node_modules/.bin:/usr/local/bin:/Users/silverwind/bin:/usr/local/heroku/bin:/Users/silverwind/perl5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/silverwind/work/adt-bundle-mac-x86_64-20140321/sdk/platform-tools:/opt/X11/bin:/usr/local/sbin:/Users/silverwind/go/bin:/home/silverwind/scripts /usr/local/bin/iojs "/Users/silverwind/git/iojs/test-npm/bin/npm-cli.js" install "/Users/silverwind/git/iojs/test-npm"
$$$$$$ after command /usr/local/bin/iojs "/Users/silverwind/git/iojs/test-npm/bin/npm-cli.js" install "/Users/silverwind/git/iojs/test-npm" /var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/root
1> > npm@2.11.0 prepublish /Users/silverwind/git/iojs/test-npm
1> > node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc
1>
1> scripts/doc-build.sh doc/api/npm-bin.md man/man3/npm-bin.3
1> scripts/doc-build.sh doc/api/npm-bugs.md man/man3/npm-bugs.3
1> scripts/doc-build.sh doc/api/npm-cache.md man/man3/npm-cache.3
1> scripts/doc-build.sh doc/api/npm-commands.md man/man3/npm-commands.3
2> module.js:339
2> throw err;
2> ^
2> Error: Cannot find module '../'
2> at Function.Module._resolveFilename (module.js:337:15)
2> at Function.Module._load (module.js:287:25)
2> at Module.require (module.js:366:17)
2> at require (module.js:385:17)
2> at Object.<anonymous> (/Users/silverwind/git/iojs/test-npm/node_modules/.bin/marked-man:3:1)
2> at Module._compile (module.js:431:26)
2> at Object.Module._extensions..js (module.js:449:10)
2> at Module.load (module.js:356:32)
2> at Function.Module._load (module.js:311:12)
2> at Function.Module.runMain (module.js:472:10)
2> make[1]: *** [man/man3/npm-bin.3] Error 1
2> make[1]: *** Waiting for unfinished jobs....
2> module.js:339
2> throw err;
2> ^
2> Error: Cannot find module '../'
2> at Function.Module._resolveFilename (module.js:337:15)
2> at Function.Module._load (module.js:287:25)
2> at Module.require (module.js:366:17)
2> at require (module.js:385:17)
2> at Object.<anonymous> (/Users/silverwind/git/iojs/test-npm/node_modules/.bin/marked-man:3:1)
2> at Module._compile (module.js:431:26)
2> at Object.Module._extensions..js (module.js:449:10)
2> at Module.load (module.js:356:32)
2> at Function.Module._load (module.js:311:12)
2> at Function.Module.runMain (module.js:472:10)
2> module.js:339
2> throw err;
2> ^
2> Error: Cannot find module '../'
2> at Function.Module._resolveFilename (module.js:337:15)
2> at Function.Module._load (module.js:287:25)
2> at Module.require (module.js:366:17)
2> at require (module.js:385:17)
2> at Object.<anonymous> (/Users/silverwind/git/iojs/test-npm/node_modules/.bin/marked-man:3:1)
2> at Module._compile (module.js:431:26)
2> at Object.Module._extensions..js (module.js:449:10)
2> at Module.load (module.js:356:32)
2> at Function.Module._load (module.js:311:12)
2> at Function.Module.runMain (module.js:472:10)
2> make[1]: *** [man/man3/npm-bugs.3] Error 1
2> make[1]: *** [man/man3/npm-cache.3] Error 1
2> module.js:339
2> throw err;
2> ^
2> Error: Cannot find module '../'
2> at Function.Module._resolveFilename (module.js:337:15)
2> at Function.Module._load (module.js:287:25)
2> at Module.require (module.js:366:17)
2> at require (module.js:385:17)
2> at Object.<anonymous> (/Users/silverwind/git/iojs/test-npm/node_modules/.bin/marked-man:3:1)
2> at Module._compile (module.js:431:26)
2> at Object.Module._extensions..js (module.js:449:10)
2> at Module.load (module.js:356:32)
2> at Function.Module._load (module.js:311:12)
2> at Function.Module.runMain (module.js:472:10)
2> make[1]: *** [man/man3/npm-commands.3] Error 1
2>
2> npm ERR! addLocalDirectory Could not pack /Users/silverwind/git/iojs/test-npm to /var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/npm_cache/npm/2.11.0/package.tgz
2> npm ERR! addLocal Could not install /Users/silverwind/git/iojs/test-npm
2> npm ERR! Darwin 14.4.0
2> npm ERR! argv "/usr/local/bin/iojs" "/Users/silverwind/git/iojs/test-npm/bin/npm-cli.js" "install" "/Users/silverwind/git/iojs/test-npm"
2> npm ERR! node v2.1.0
2> npm ERR! npm v2.11.0
2> npm ERR! code ELIFECYCLE
2> npm ERR! npm@2.11.0 prepublish: `node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc`
2> npm ERR! Exit status 2
2> npm ERR!
2> npm ERR! Failed at the npm@2.11.0 prepublish script 'node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc'.
2> npm ERR! This is most likely a problem with the npm package,
2> npm ERR! not with npm itself.
2> npm ERR! Tell the author that this fails on your system:
2> npm ERR! node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 doc
2> npm ERR! You can get their info via:
2> npm ERR! npm owner ls npm
2> npm ERR! There is likely additional logging output above.
2>
2> npm ERR! Please include the following file with any support request:
2> npm ERR! /private/var/folders/q3/7366pfr93sqgg9qkh3hbtx3m0000gn/T/npm-test-80654/root/npm-debug.log
2>
not ok 1 node "/Users/silverwind/git/iojs/test-npm/bin/npm-cli.js" install "/Users/silverwind/git/iojs/test-npm"
1..1
/Users/silverwind/git/iojs/test-npm/test/run.js:192
if (er) throw er
^
Error: failed node "/Users/silverwind/git/iojs/test-npm/bin/npm-cli.js" install "/Users/silverwind/git/iojs/test-npm"
at /Users/silverwind/git/iojs/test-npm/test/run.js:104:10
at ChildProcess.exithandler (child_process.js:692:5)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (child_process.js:953:16)
at Socket.<anonymous> (child_process.js:1114:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:472:12)
npm ERR! Darwin 14.4.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "run" "test-legacy"
npm ERR! node v2.1.0
npm ERR! npm v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! npm@2.11.0 test-legacy: `node ./test/run.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the npm@2.11.0 test-legacy script 'node ./test/run.js'.
npm ERR! This is most likely a problem with the npm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./test/run.js
npm ERR! You can get their info via:
npm ERR! npm owner ls npm
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/silverwind/git/iojs/test-npm/npm-debug.log
npm ERR! Darwin 14.4.0
npm ERR! argv "/Users/silverwind/git/iojs/out/Release/iojs" "/Users/silverwind/git/iojs/test-npm/cli.js" "run-script" "test-all"
npm ERR! node v2.2.1
npm ERR! npm v2.11.0
npm ERR! code ELIFECYCLE
npm ERR! npm@2.11.0 test-all: `npm run test-legacy && npm test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the npm@2.11.0 test-all script 'npm run test-legacy && npm test'.
npm ERR! This is most likely a problem with the npm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run test-legacy && npm test
npm ERR! You can get their info via:
npm ERR! npm owner ls npm
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/silverwind/git/iojs/test-npm/npm-debug.log
make: *** [test-npm] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment