Created
June 28, 2012 00:21
-
-
Save trentm/3007814 to your computer and use it in GitHub Desktop.
npm retry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[17:08:19 trentm@banana:~/tm/npm-registry-proxy (master)] | |
$ (touch proxy.js && sleep 1 # ensure my npm-registry-proxy restarts | |
&& rm -rf tmp/cache node_modules/bunyan # start fresh | |
&& node ~/tm/npm/cli.js --loglevel=info \ | |
--cache=`pwd`/tmp/cache --registry=http://localhost:8000/ \ | |
install bunyan) | |
npm info it worked if it ends with ok | |
npm info using npm@1.1.32 | |
npm info using node@v0.6.19 | |
npm info retry registry request attempt 1 at 17:08:22 | |
npm http GET http://localhost:8000/bunyan | |
npm http 500 http://localhost:8000/bunyan <--- simulated server failure | |
npm info retry registry request attempt 2 at 17:08:32 <--- first retry | |
npm http GET http://localhost:8000/bunyan | |
npm http 500 http://localhost:8000/bunyan <--- simulated server failure | |
npm info retry registry request attempt 3 at 17:09:32 <--- second retry | |
npm http GET http://localhost:8000/bunyan | |
npm http 200 http://localhost:8000/bunyan | |
npm info retry fetch attempt 1 at 17:09:32 | |
npm http GET http://localhost:8000/bunyan/-/bunyan-0.10.0.tgz | |
npm http 500 http://localhost:8000/bunyan/-/bunyan-0.10.0.tgz <--- simulated server failure | |
npm info shasum da39a3ee5e6b4b0d3255bfef95601890afd80709 | |
npm info shasum /var/folders/a1/a1q548caE+ytwn0liWfg7E+++TI/-Tmp-/npm-36626/1340842172795-36626-0.7655768850818276/tmp.tgz | |
npm info retry fetch attempt 2 at 17:09:35 <--- first retry | |
npm http GET http://localhost:8000/bunyan/-/bunyan-0.10.0.tgz | |
npm http 200 http://localhost:8000/bunyan/-/bunyan-0.10.0.tgz | |
npm info shasum 51b6270f4e6f151a6eaf9a9f188acaebec2101eb | |
npm info shasum /var/folders/a1/a1q548caE+ytwn0liWfg7E+++TI/-Tmp-/npm-36626/1340842172795-36626-0.7655768850818276/tmp.tgz | |
npm info shasum 51b6270f4e6f151a6eaf9a9f188acaebec2101eb | |
npm info shasum /Users/trentm/tm/npm-registry-proxy/tmp/cache/bunyan/0.10.0/package.tgz | |
npm info install bunyan@0.10.0 into /Users/trentm/tm/npm-registry-proxy | |
npm info installOne bunyan@0.10.0 | |
npm info /Users/trentm/tm/npm-registry-proxy/node_modules/bunyan unbuild | |
npm info preinstall bunyan@0.10.0 | |
npm info build /Users/trentm/tm/npm-registry-proxy/node_modules/bunyan | |
npm info linkStuff bunyan@0.10.0 | |
npm info install bunyan@0.10.0 | |
npm info postinstall bunyan@0.10.0 | |
bunyan@0.10.0 node_modules/bunyan | |
npm info ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment