This repository was archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3k
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
npm install inexplicably runs npm run prepublish in npm 1.2.0 #3059
Copy link
Copy link
Closed
Labels
Description
damocles@moya:~/oss/sloppy-queue-flow(master)$ npm install
> [email protected] prepublish /Users/damocles/oss/sloppy-queue-flow
> npm test && docco ./lib/sloppy-queue-flow.js && uglifyjs ./lib/sloppy-queue-flow.js > ./lib/sloppy-queue-flow.min.js && git commit -am "Automatic doc and minification for version $npm_package_version" && git tag $npm_package_version && git push && git push --tags
> [email protected] test /Users/damocles/oss/sloppy-queue-flow
> nodeunit ./test/test.js
test.js
✔ sloppyType
✔ sloppy
✔ badHandler
✔ kill
✔ processNextTickPatch
✔ jscoverage
OK: 13 assertions (1044ms)
docco: ./lib/sloppy-queue-flow.js -> docs/sloppy-queue-flow.html
# On branch master
nothing to commit (working directory clean)
npm ERR! [email protected] prepublish: `npm test && docco ./lib/sloppy-queue-flow.js && uglifyjs ./lib/sloppy-queue-flow.js > ./lib/sloppy-queue-flow.min.js && git commit -am "Automatic doc and minification for version $npm_package_version" && git tag $npm_package_version && git push && git push --tags`
npm ERR! `sh "-c" "npm test && docco ./lib/sloppy-queue-flow.js && uglifyjs ./lib/sloppy-queue-flow.js > ./lib/sloppy-queue-flow.min.js && git commit -am \"Automatic doc and minification for version $npm_package_version\" && git tag $npm_package_version && git push && git push --tags"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is most likely a problem with the sloppy-queue-flow package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm test && docco ./lib/sloppy-queue-flow.js && uglifyjs ./lib/sloppy-queue-flow.js > ./lib/sloppy-queue-flow.min.js && git commit -am "Automatic doc and minification for version $npm_package_version" && git tag $npm_package_version && git push && git push --tags
npm ERR! You can get their info via:
npm ERR! npm owner ls sloppy-queue-flow
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 12.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/damocles/oss/sloppy-queue-flow
npm ERR! node -v v0.8.17
npm ERR! npm -v 1.2.0
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/damocles/oss/sloppy-queue-flow/npm-debug.log
npm ERR! not ok code 0
Hopefully this is something minor (accidentally replaced preinstall with prepublish somewhere)