lloyd / node-toobusy

Build Node.JS servers that don't fall over.
1.3k stars 128 forks source link

Can't install toobusy on Windows 7! #37

Open bobcaprice opened 10 years ago

bobcaprice commented 10 years ago

I am having a real problem installing toobusy when trying to run a node js application in a windows environment. I'm using a cygwin command line and getting the following output:

$ npm install toobusy npm WARN package.json legit@0.0.4 No repository field.

C:\nodeproject\node_modules\toobusy>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild gypnpm ERR! toobusy@0.2.4 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the toobusy@0.2.4 install script. npm ERR! This is most likely a problem with the toobusy package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR!     node-gyp rebuild npm ERR! You can get their info via: npm ERR!     npm owner ls toobusy npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "toobusy" npm ERR! cwd C:\nodeproject npm ERR! node -v v0.10.31 npm ERR! npm -v 1.4.23 npm ERR! code ELIFECYCLE npm

I've tried switching between 64 bit and 32 bit node js installations but to no avail.

Can anybody help? Any suggestions would be greatly appreciated.

Thanks

matejkramny commented 10 years ago

Can you include npm-debug.log?

This output doesn’t tell us what the error is.

node-toobusy compiles some c++ code, so there might be a problem with that.

Matej Kramny

On Saturday, 30 August 2014 at 01:08, bobcaprice wrote:

I am having a real problem installing toobusy when trying to run a node js application in a windows environment. I'm using a cygwin command line and getting the following output: $ npm install toobusy npm WARN package.json legit@0.0.4 (mailto:legit@0.0.4) No repository field.
C:\nodeproject\node_modules\toobusy>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild gypnpm ERR! toobusy@0.2.4 (mailto:toobusy@0.2.4) install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the toobusy@0.2.4 (mailto:toobusy@0.2.4) install script. npm ERR! This is most likely a problem with the toobusy package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls toobusy npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "toobusy" npm ERR! cwd C:\nodeproject npm ERR! node -v v0.10.31 npm ERR! npm -v 1.4.23 npm ERR! code ELIFECYCLE npm
I've tried switching between 64 bit and 32 bit node js installations but to no avail. Can anybody help? Any suggestions would be greatly appreciated.
Thanks

— Reply to this email directly or view it on GitHub (https://github.com/lloyd/node-toobusy/issues/37).

matejkramny commented 10 years ago

There is a JS-only fork which you could try. It doesn’t depend on node-gyp

Matej Kramny

On Saturday, 30 August 2014 at 01:14, Matej Kramny wrote:

Can you include npm-debug.log?

This output doesn’t tell us what the error is.

node-toobusy compiles some c++ code, so there might be a problem with that.

Matej Kramny

On Saturday, 30 August 2014 at 01:08, bobcaprice wrote:

I am having a real problem installing toobusy when trying to run a node js application in a windows environment. I'm using a cygwin command line and getting the following output: $ npm install toobusy npm WARN package.json legit@0.0.4 (mailto:legit@0.0.4) No repository field.
C:\nodeproject\node_modules\toobusy>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild gypnpm ERR! toobusy@0.2.4 (mailto:toobusy@0.2.4) install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the toobusy@0.2.4 (mailto:toobusy@0.2.4) install script. npm ERR! This is most likely a problem with the toobusy package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls toobusy npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "toobusy" npm ERR! cwd C:\nodeproject npm ERR! node -v v0.10.31 npm ERR! npm -v 1.4.23 npm ERR! code ELIFECYCLE npm
I've tried switching between 64 bit and 32 bit node js installations but to no avail. Can anybody help? Any suggestions would be greatly appreciated.
Thanks

— Reply to this email directly or view it on GitHub (https://github.com/lloyd/node-toobusy/issues/37).

bobcaprice commented 10 years ago

Hi Matej,

Thanks for getting back to me. Here is the content of the npm-debug.log file - I still can't see what the error is though! Can you?

Thanks again for your help.

George

npm-debug.log:

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe', 1 verbose cli 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'toobusy' ] 2 info using npm@1.4.23 3 info using node@v0.10.31 4 warn package.json legit@0.0.4 No repository field. 5 verbose readDependencies using package.json deps 6 verbose cache add [ 'toobusy@latest', null ] 7 verbose cache add name=undefined spec="toobusy@latest" args=["toobusy@latest",null] 8 verbose parsed url { protocol: null, 8 verbose parsed url slashes: null, 8 verbose parsed url auth: null, 8 verbose parsed url host: null, 8 verbose parsed url port: null, 8 verbose parsed url hostname: null, 8 verbose parsed url hash: null, 8 verbose parsed url search: null, 8 verbose parsed url query: null, 8 verbose parsed url pathname: 'toobusy@latest', 8 verbose parsed url path: 'toobusy@latest', 8 verbose parsed url href: 'toobusy@latest' } 9 verbose cache add name="toobusy" spec="latest" args=["toobusy","latest"] 10 verbose parsed url { protocol: null, 10 verbose parsed url slashes: null, 10 verbose parsed url auth: null, 10 verbose parsed url host: null, 10 verbose parsed url port: null, 10 verbose parsed url hostname: null, 10 verbose parsed url hash: null, 10 verbose parsed url search: null, 10 verbose parsed url query: null, 10 verbose parsed url pathname: 'latest', 10 verbose parsed url path: 'latest', 10 verbose parsed url href: 'latest' } 11 verbose addNamed [ 'toobusy', 'latest' ] 12 verbose addNamed [ null, null ] 13 silly lockFile ab2cd845-toobusy-latest toobusy@latest 14 verbose lock toobusy@latest C:\Users\bob\AppData\Roaming\npm-cache\ab2cd845-toobusy-latest.lock 15 info addNameTag [ 'toobusy', 'latest' ] 16 verbose request where is /toobusy 17 verbose request registry https://registry.npmjs.org/ 18 verbose request id 038fbb33753d2feb 19 verbose url raw /toobusy 20 verbose url resolving [ 'https://registry.npmjs.org/', './toobusy' ] 21 verbose url resolved https://registry.npmjs.org/toobusy 22 verbose request where is https://registry.npmjs.org/toobusy 23 info trying registry request attempt 1 at 13:46:49 24 verbose etag "8TLI8S7XNKNMTWT0X8QQN4SS3" 25 http GET https://registry.npmjs.org/toobusy 26 http 304 https://registry.npmjs.org/toobusy 27 silly registry.get cb [ 304, 27 silly registry.get { date: 'Mon, 01 Sep 2014 11:46:48 GMT', 27 silly registry.get server: 'Apache', 27 silly registry.get via: '1.1 varnish', 27 silly registry.get 'last-modified': 'Mon, 01 Sep 2014 11:46:48 GMT', 27 silly registry.get 'cache-control': 'max-age=60', 27 silly registry.get etag: '"8TLI8S7XNKNMTWT0X8QQN4SS3"', 27 silly registry.get 'x-served-by': 'cache-fra1234-FRA', 27 silly registry.get 'x-cache': 'MISS', 27 silly registry.get 'x-cache-hits': '0', 27 silly registry.get 'x-timer': 'S1409572008.805846,VS0,VE172', 27 silly registry.get vary: 'Accept', 27 silly registry.get 'content-length': '0', 27 silly registry.get 'keep-alive': 'timeout=10, max=50', 27 silly registry.get connection: 'Keep-Alive' } ] 28 verbose etag https://registry.npmjs.org/toobusy from cache 29 verbose addNamed [ 'toobusy', '0.2.4' ] 30 verbose addNamed [ '0.2.4', '0.2.4' ] 31 silly lockFile 480b55a9-toobusy-0-2-4 toobusy@0.2.4 32 verbose lock toobusy@0.2.4 C:\Users\bob\AppData\Roaming\npm-cache\480b55a9-toobusy-0-2-4.lock 33 silly lockFile 480b55a9-toobusy-0-2-4 toobusy@0.2.4 34 silly lockFile 480b55a9-toobusy-0-2-4 toobusy@0.2.4 35 silly lockFile ab2cd845-toobusy-latest toobusy@latest 36 silly lockFile ab2cd845-toobusy-latest toobusy@latest 37 silly resolved [ { name: 'toobusy', 37 silly resolved description: 'Don\'t fall over when your Node.JS server is too busy.', 37 silly resolved homepage: 'https://github.com/lloyd/node-toobusy', 37 silly resolved version: '0.2.4', 37 silly resolved dependencies: { bindings: '1.1.0' }, 37 silly resolved devDependencies: { should: '1.2.1', mocha: '1.7.0' }, 37 silly resolved maintainers: [ [Object] ], 37 silly resolved bugs: { url: 'https://github.com/lloyd/node-toobusy/issues' }, 37 silly resolved licenses: [ [Object] ], 37 silly resolved repository: { type: 'git', url: 'git://github.com/lloyd/node-toobusy.git' }, 37 silly resolved main: './index.js', 37 silly resolved engines: { node: '>=0.8.0' }, 37 silly resolved scripts: { test: 'mocha tests', install: 'node-gyp rebuild' }, 37 silly resolved gypfile: true, 37 silly resolved _id: 'toobusy@0.2.4', 37 silly resolved dist: 37 silly resolved { shasum: 'd97a3ee760b2462388e15f8526579b4b64bb193d', 37 silly resolved tarball: 'http://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz' }, 37 silly resolved _from: 'toobusy@latest', 37 silly resolved _npmVersion: '1.3.11', 37 silly resolved _npmUser: { name: 'lloyd', email: 'lloyd@hilaiel.com' }, 37 silly resolved directories: {}, 37 silly resolved _shasum: 'd97a3ee760b2462388e15f8526579b4b64bb193d', 37 silly resolved _resolved: 'https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz', 37 silly resolved readme: 'ERROR: No README data found!' } ] 38 info install toobusy@0.2.4 into C:\nodeproject 39 info installOne toobusy@0.2.4 40 verbose node_modules\toobusy unbuild 41 verbose tar unpack C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 42 silly lockFile 5a95b37f-rtnoternode-node-modules-toobusy tar://C:\nodeproject\node_modules\toobusy 43 verbose lock tar://C:\nodeproject\node_modules\toobusy C:\Users\bob\AppData\Roaming\npm-cache\5a95b37f-rtnoternode-node-modules-toobusy.lock 44 silly lockFile 6f0037bd--cache-toobusy-0-2-4-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 45 verbose lock tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz C:\Users\bob\AppData\Roaming\npm-cache\6f0037bd--cache-toobusy-0-2-4-package-tgz.lock 46 silly gunzTarPerm modes [ '777', '666' ] 47 silly gunzTarPerm extractEntry package.json 48 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ] 49 silly gunzTarPerm extractEntry .npmignore 50 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ] 51 silly gunzTarPerm extractEntry README.md 52 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ] 53 silly gunzTarPerm extractEntry index.js 54 silly gunzTarPerm modified mode [ 'index.js', 420, 438 ] 55 silly gunzTarPerm extractEntry tests.js 56 silly gunzTarPerm modified mode [ 'tests.js', 420, 438 ] 57 silly gunzTarPerm extractEntry .travis.yml 58 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ] 59 silly gunzTarPerm extractEntry ChangeLog 60 silly gunzTarPerm modified mode [ 'ChangeLog', 420, 438 ] 61 silly gunzTarPerm extractEntry binding.gyp 62 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ] 63 silly gunzTarPerm extractEntry examples/package.json 64 silly gunzTarPerm modified mode [ 'examples/package.json', 420, 438 ] 65 silly gunzTarPerm extractEntry examples/express.js 66 silly gunzTarPerm modified mode [ 'examples/express.js', 420, 438 ] 67 silly gunzTarPerm extractEntry examples/http.js 68 silly gunzTarPerm modified mode [ 'examples/http.js', 420, 438 ] 69 silly gunzTarPerm extractEntry examples/load.js 70 silly gunzTarPerm modified mode [ 'examples/load.js', 420, 438 ] 71 silly gunzTarPerm extractEntry examples/standalone.js 72 silly gunzTarPerm modified mode [ 'examples/standalone.js', 420, 438 ] 73 silly gunzTarPerm extractEntry examples/before.txt 74 silly gunzTarPerm modified mode [ 'examples/before.txt', 420, 438 ] 75 silly gunzTarPerm extractEntry examples/lower_dampening.txt 76 silly gunzTarPerm modified mode [ 'examples/lower_dampening.txt', 420, 438 ] 77 silly gunzTarPerm extractEntry toobusy.cc 78 silly gunzTarPerm modified mode [ 'toobusy.cc', 420, 438 ] 79 silly lockFile 5a95b37f-rtnoternode-node-modules-toobusy tar://C:\nodeproject\node_modules\toobusy 80 silly lockFile 5a95b37f-rtnoternode-node-modules-toobusy tar://C:\nodeproject\node_modules\toobusy 81 silly lockFile 6f0037bd--cache-toobusy-0-2-4-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 82 silly lockFile 6f0037bd--cache-toobusy-0-2-4-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 83 info preinstall toobusy@0.2.4 84 verbose readDependencies using package.json deps 85 verbose readDependencies using package.json deps 86 verbose cache add [ 'bindings@1.1.0', null ] 87 verbose cache add name=undefined spec="bindings@1.1.0" args=["bindings@1.1.0",null] 88 verbose parsed url { protocol: null, 88 verbose parsed url slashes: null, 88 verbose parsed url auth: null, 88 verbose parsed url host: null, 88 verbose parsed url port: null, 88 verbose parsed url hostname: null, 88 verbose parsed url hash: null, 88 verbose parsed url search: null, 88 verbose parsed url query: null, 88 verbose parsed url pathname: 'bindings@1.1.0', 88 verbose parsed url path: 'bindings@1.1.0', 88 verbose parsed url href: 'bindings@1.1.0' } 89 verbose cache add name="bindings" spec="1.1.0" args=["bindings","1.1.0"] 90 verbose parsed url { protocol: null, 90 verbose parsed url slashes: null, 90 verbose parsed url auth: null, 90 verbose parsed url host: null, 90 verbose parsed url port: null, 90 verbose parsed url hostname: null, 90 verbose parsed url hash: null, 90 verbose parsed url search: null, 90 verbose parsed url query: null, 90 verbose parsed url pathname: '1.1.0', 90 verbose parsed url path: '1.1.0', 90 verbose parsed url href: '1.1.0' } 91 verbose addNamed [ 'bindings', '1.1.0' ] 92 verbose addNamed [ '1.1.0', '1.1.0' ] 93 silly lockFile ff2d1960-bindings-1-1-0 bindings@1.1.0 94 verbose lock bindings@1.1.0 C:\Users\bob\AppData\Roaming\npm-cache\ff2d1960-bindings-1-1-0.lock 95 verbose request where is /bindings 96 verbose request registry https://registry.npmjs.org/ 97 verbose url raw /bindings 98 verbose url resolving [ 'https://registry.npmjs.org/', './bindings' ] 99 verbose url resolved https://registry.npmjs.org/bindings 100 verbose request where is https://registry.npmjs.org/bindings 101 info trying registry request attempt 1 at 13:46:50 102 verbose etag "83HU5HKKLRLVHWOG4AK7LF69C" 103 http GET https://registry.npmjs.org/bindings 104 http 304 https://registry.npmjs.org/bindings 105 silly registry.get cb [ 304, 105 silly registry.get { date: 'Mon, 01 Sep 2014 11:46:49 GMT', 105 silly registry.get server: 'Apache', 105 silly registry.get via: '1.1 varnish', 105 silly registry.get 'last-modified': 'Mon, 01 Sep 2014 11:46:49 GMT', 105 silly registry.get 'cache-control': 'max-age=60', 105 silly registry.get etag: '"83HU5HKKLRLVHWOG4AK7LF69C"', 105 silly registry.get 'x-served-by': 'cache-fra1235-FRA', 105 silly registry.get 'x-cache': 'HIT', 105 silly registry.get 'x-cache-hits': '1', 105 silly registry.get 'x-timer': 'S1409572009.550462,VS0,VE0', 105 silly registry.get vary: 'Accept', 105 silly registry.get 'content-length': '0', 105 silly registry.get 'keep-alive': 'timeout=10, max=50', 105 silly registry.get connection: 'Keep-Alive' } ] 106 verbose etag https://registry.npmjs.org/bindings from cache 107 silly lockFile ff2d1960-bindings-1-1-0 bindings@1.1.0 108 silly lockFile ff2d1960-bindings-1-1-0 bindings@1.1.0 109 silly resolved [ { name: 'bindings', 109 silly resolved description: 'Helper module for loading your native module\'s .node file', 109 silly resolved keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ], 109 silly resolved version: '1.1.0', 109 silly resolved author: 109 silly resolved { name: 'Nathan Rajlich', 109 silly resolved email: 'nathan@tootallnate.net', 109 silly resolved url: 'http://tootallnate.net' }, 109 silly resolved repository: 109 silly resolved { type: 'git', 109 silly resolved url: 'git://github.com/TooTallNate/node-bindings.git' }, 109 silly resolved main: './bindings.js', 109 silly resolved _id: 'bindings@1.1.0', 109 silly resolved dist: 109 silly resolved { shasum: 'f3cc4deec19fe31f255864eb1e6ffad857266ef0', 109 silly resolved tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz' }, 109 silly resolved _from: 'bindings@1.1.0', 109 silly resolved _npmVersion: '1.2.12', 109 silly resolved _npmUser: { name: 'tootallnate', email: 'nathan@tootallnate.net' }, 109 silly resolved maintainers: [ [Object], [Object] ], 109 silly resolved directories: {}, 109 silly resolved _shasum: 'f3cc4deec19fe31f255864eb1e6ffad857266ef0', 109 silly resolved _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz', 109 silly resolved bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' }, 109 silly resolved readme: 'ERROR: No README data found!', 109 silly resolved homepage: 'https://github.com/TooTallNate/node-bindings' } ] 110 info install bindings@1.1.0 into C:\nodeproject\node_modules\toobusy 111 info installOne bindings@1.1.0 112 verbose node_modules\toobusy\node_modules\bindings unbuild 113 verbose tar unpack C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 114 silly lockFile 4ab5e2da-es-toobusy-node-modules-bindings tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings 115 verbose lock tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings C:\Users\bob\AppData\Roaming\npm-cache\4ab5e2da-es-toobusy-node-modules-bindings.lock 116 silly lockFile 6c7c6441-cache-bindings-1-1-0-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 117 verbose lock tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz C:\Users\bob\AppData\Roaming\npm-cache\6c7c6441-cache-bindings-1-1-0-package-tgz.lock 118 silly gunzTarPerm modes [ '777', '666' ] 119 silly gunzTarPerm extractEntry package.json 120 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ] 121 silly gunzTarPerm extractEntry README.md 122 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ] 123 silly gunzTarPerm extractEntry bindings.js 124 silly gunzTarPerm modified mode [ 'bindings.js', 420, 438 ] 125 silly lockFile 4ab5e2da-es-toobusy-node-modules-bindings tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings 126 silly lockFile 4ab5e2da-es-toobusy-node-modules-bindings tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings 127 silly lockFile 6c7c6441-cache-bindings-1-1-0-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 128 silly lockFile 6c7c6441-cache-bindings-1-1-0-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 129 info preinstall bindings@1.1.0 130 verbose readDependencies using package.json deps 131 verbose readDependencies using package.json deps 132 silly resolved [] 133 verbose about to build C:\nodeproject\node_modules\toobusy\node_modules\bindings 134 info build C:\nodeproject\node_modules\toobusy\node_modules\bindings 135 verbose linkStuff [ false, 135 verbose linkStuff false, 135 verbose linkStuff false, 135 verbose linkStuff 'C:\nodeproject\node_modules\toobusy\node_modules' ] 136 info linkStuff bindings@1.1.0 137 verbose linkBins bindings@1.1.0 138 verbose linkMans bindings@1.1.0 139 verbose rebuildBundles bindings@1.1.0 140 info install bindings@1.1.0 141 info postinstall bindings@1.1.0 142 verbose about to build C:\nodeproject\node_modules\toobusy 143 info build C:\nodeproject\node_modules\toobusy 144 verbose linkStuff [ false, 144 verbose linkStuff false, 144 verbose linkStuff false, 144 verbose linkStuff 'C:\nodeproject\node_modules' ] 145 info linkStuff toobusy@0.2.4 146 verbose linkBins toobusy@0.2.4 147 verbose linkMans toobusy@0.2.4 148 verbose rebuildBundles toobusy@0.2.4 149 verbose rebuildBundles [ 'bindings' ] 150 info install toobusy@0.2.4 151 verbose unsafe-perm in lifecycle true 152 info toobusy@0.2.4 Failed to exec install script 153 verbose node_modules\toobusy unbuild 154 info preuninstall toobusy@0.2.4 155 info uninstall toobusy@0.2.4 156 verbose true,C:\nodeproject\node_modules,C:\nodeproject\node_modules unbuild toobusy@0.2.4 157 info postuninstall toobusy@0.2.4 158 error toobusy@0.2.4 install: node-gyp rebuild 158 error Exit status 1 159 error Failed at the toobusy@0.2.4 install script. 159 error This is most likely a problem with the toobusy package, 159 error not with npm itself. 159 error Tell the author that this fails on your system: 159 error node-gyp rebuild 159 error You can get their info via: 159 error npm owner ls toobusy 159 error There is likely additional logging output above. 160 error System Windows_NT 6.1.7601 161 error command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "toobusy" 162 error cwd C:\nodeproject 163 error node -v v0.10.31 164 error npm -v 1.4.23 165 error code ELIFECYCLE 166 verbose exit [ 1, true ]

matejkramny commented 10 years ago

Hi George,

It doesn’t tell us very much :/.

Can you try installing the dependencies listed on node-gyp readme? https://github.com/TooTallNate/node-gyp

Also, you might want to consider trying this fork: https://github.com/STRML/node-toobusy. It seems that doesn’t use node-gyp :P.

Cheers,

Matej Kramny

On Monday, 1 September 2014 at 12:56, bobcaprice wrote:

Hi Matej, Thanks for getting back to me. Here is the content of the npm-debug.log file - I still can't see what the error is though! Can you? Thanks again for your help. George npm-debug.log: 0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe', 1 verbose cli 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'toobusy' ] 2 info using npm@1.4.23 (mailto:npm@1.4.23) 3 info using node@v0.10.31 (mailto:node@v0.10.31) 4 warn package.json legit@0.0.4 (mailto:legit@0.0.4) No repository field. 5 verbose readDependencies using package.json deps 6 verbose cache add [ 'toobusy@latest', null ] 7 verbose cache add name=undefined spec="toobusy@latest" args=["toobusy@latest",null] 8 verbose parsed url { protocol: null, 8 verbose parsed url slashes: null, 8 verbose parsed url auth: null, 8 verbose parsed url host: null, 8 verbose parsed url port: null, 8 verbose parsed url hostname: null, 8 verbose parsed url hash: null, 8 verbose parsed url search: null, 8 verbose parsed url query: null, 8 verbose parsed url pathname: 'toobusy@latest', 8 verbose parsed url path: 'toobusy@latest', 8 verbose parsed url href: 'toobusy@latest' } 9 verbose cache add name="toobusy" spec="latest" args=["toobusy","latest"] 10 verbose parsed url { protocol: null, 10 verbose parsed url slashes: null, 10 verbose parsed url auth: null, 10 verbose parsed url host: null, 10 verbose parsed url port: null, 10 verbose parsed url hostname: null, 10 verbose parsed url hash: null, 10 verbose parsed url search: null, 10 verbose parsed url query: null, 10 verbose parsed url pathname: 'latest', 10 verbose parsed url path: 'latest', 10 verbose parsed url href: 'latest' } 11 verbose addNamed [ 'toobusy', 'latest' ] 12 verbose addNamed [ null, null ] 13 silly lockFile ab2cd845-toobusy-latest toobusy@latest 14 verbose lock toobusy@latest C:\Users\bob\AppData\Roaming\npm-cache\ab2cd845-toobusy-latest.lock 15 info addNameTag [ 'toobusy', 'latest' ] 16 verbose request where is /toobusy 17 verbose request registry https://registry.npmjs.org/ 18 verbose request id 038fbb33753d2feb 19 verbose url raw /toobusy 20 verbose url resolving [ 'https://registry.npmjs.org/', './toobusy' ] 21 verbose url resolved https://registry.npmjs.org/toobusy 22 verbose request where is https://registry.npmjs.org/toobusy 23 info trying registry request attempt 1 at 13:46:49 24 verbose etag "8TLI8S7XNKNMTWT0X8QQN4SS3" 25 http GET https://registry.npmjs.org/toobusy 26 http 304 https://registry.npmjs.org/toobusy 27 silly registry.get cb [ 304, 27 silly registry.get { date: 'Mon, 01 Sep 2014 11:46:48 GMT', 27 silly registry.get server: 'Apache', 27 silly registry.get via: '1.1 varnish', 27 silly registry.get 'last-modified': 'Mon, 01 Sep 2014 11:46:48 GMT', 27 silly registry.get 'cache-control': 'max-age=60', 27 silly registry.get etag: '"8TLI8S7XNKNMTWT0X8QQN4SS3"', 27 silly registry.get 'x-served-by': 'cache-fra1234-FRA', 27 silly registry.get 'x-cache': 'MISS', 27 silly registry.get 'x-cache-hits': '0', 27 silly registry.get 'x-timer': 'S1409572008.805846,VS0,VE172', 27 silly registry.get vary: 'Accept', 27 silly registry.get 'content-length': '0', 27 silly registry.get 'keep-alive': 'timeout=10, max=50', 27 silly registry.get connection: 'Keep-Alive' } ] 28 verbose etag https://registry.npmjs.org/toobusy from cache 29 verbose addNamed [ 'toobusy', '0.2.4' ] 30 verbose addNamed [ '0.2.4', '0.2.4' ] 31 silly lockFile 480b55a9-toobusy-0-2-4 toobusy@0.2.4 (mailto:toobusy@0.2.4) 32 verbose lock toobusy@0.2.4 (mailto:toobusy@0.2.4) C:\Users\bob\AppData\Roaming\npm-cache\480b55a9-toobusy-0-2-4.lock 33 silly lockFile 480b55a9-toobusy-0-2-4 toobusy@0.2.4 (mailto:toobusy@0.2.4) 34 silly lockFile 480b55a9-toobusy-0-2-4 toobusy@0.2.4 (mailto:toobusy@0.2.4) 35 silly lockFile ab2cd845-toobusy-latest toobusy@latest 36 silly lockFile ab2cd845-toobusy-latest toobusy@latest 37 silly resolved [ { name: 'toobusy', 37 silly resolved description: 'Don\'t fall over when your Node.JS server is too busy.', 37 silly resolved homepage: 'https://github.com/lloyd/node-toobusy', 37 silly resolved version: '0.2.4', 37 silly resolved dependencies: { bindings: '1.1.0' }, 37 silly resolved devDependencies: { should: '1.2.1', mocha: '1.7.0' }, 37 silly resolved maintainers: [ [Object] ], 37 silly resolved bugs: { url: 'https://github.com/lloyd/node-toobusy/issues' }, 37 silly resolved licenses: [ [Object] ], 37 silly resolved repository: { type: 'git', url: 'git://github.com/lloyd/node-toobusy.git' (http://github.com/lloyd/node-toobusy.git') }, 37 silly resolved main: './index.js', 37 silly resolved engines: { node: '>=0.8.0' }, 37 silly resolved scripts: { test: 'mocha tests', install: 'node-gyp rebuild' }, 37 silly resolved gypfile: true, 37 silly resolved _id: 'toobusy@0.2.4 (mailto:toobusy@0.2.4)', 37 silly resolved dist: 37 silly resolved { shasum: 'd97a3ee760b2462388e15f8526579b4b64bb193d', 37 silly resolved tarball: 'http://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz' }, 37 silly resolved _from: 'toobusy@latest', 37 silly resolved _npmVersion: '1.3.11', 37 silly resolved _npmUser: { name: 'lloyd', email: 'lloyd@hilaiel.com (mailto:lloyd@hilaiel.com)' }, 37 silly resolved directories: {}, 37 silly resolved _shasum: 'd97a3ee760b2462388e15f8526579b4b64bb193d', 37 silly resolved _resolved: 'https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz', 37 silly resolved readme: 'ERROR: No README data found!' } ] 38 info install toobusy@0.2.4 (mailto:toobusy@0.2.4) into C:\nodeproject 39 info installOne toobusy@0.2.4 (mailto:toobusy@0.2.4) 40 verbose node_modules\toobusy unbuild 41 verbose tar unpack C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 42 silly lockFile 5a95b37f-rtnoternode-node-modules-toobusy tar://C:\nodeproject\node_modules\toobusy 43 verbose lock tar://C:\nodeproject\node_modules\toobusy C:\Users\bob\AppData\Roaming\npm-cache\5a95b37f-rtnoternode-node-modules-toobusy.lock 44 silly lockFile 6f0037bd--cache-toobusy-0-2-4-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 45 verbose lock tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz C:\Users\bob\AppData\Roaming\npm-cache\6f0037bd--cache-toobusy-0-2-4-package-tgz.lock 46 silly gunzTarPerm modes [ '777', '666' ] 47 silly gunzTarPerm extractEntry package.json 48 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ] 49 silly gunzTarPerm extractEntry .npmignore 50 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ] 51 silly gunzTarPerm extractEntry README.md (http://README.md) 52 silly gunzTarPerm modified mode [ 'README.md (http://README.md)', 420, 438 ] 53 silly gunzTarPerm extractEntry index.js 54 silly gunzTarPerm modified mode [ 'index.js', 420, 438 ] 55 silly gunzTarPerm extractEntry tests.js 56 silly gunzTarPerm modified mode [ 'tests.js', 420, 438 ] 57 silly gunzTarPerm extractEntry .travis.yml 58 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ] 59 silly gunzTarPerm extractEntry ChangeLog 60 silly gunzTarPerm modified mode [ 'ChangeLog', 420, 438 ] 61 silly gunzTarPerm extractEntry binding.gyp 62 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ] 63 silly gunzTarPerm extractEntry examples/package.json 64 silly gunzTarPerm modified mode [ 'examples/package.json', 420, 438 ] 65 silly gunzTarPerm extractEntry examples/express.js 66 silly gunzTarPerm modified mode [ 'examples/express.js', 420, 438 ] 67 silly gunzTarPerm extractEntry examples/http.js 68 silly gunzTarPerm modified mode [ 'examples/http.js', 420, 438 ] 69 silly gunzTarPerm extractEntry examples/load.js 70 silly gunzTarPerm modified mode [ 'examples/load.js', 420, 438 ] 71 silly gunzTarPerm extractEntry examples/standalone.js 72 silly gunzTarPerm modified mode [ 'examples/standalone.js', 420, 438 ] 73 silly gunzTarPerm extractEntry examples/before.txt 74 silly gunzTarPerm modified mode [ 'examples/before.txt', 420, 438 ] 75 silly gunzTarPerm extractEntry examples/lower_dampening.txt 76 silly gunzTarPerm modified mode [ 'examples/lower_dampening.txt', 420, 438 ] 77 silly gunzTarPerm extractEntry toobusy.cc (http://toobusy.cc) 78 silly gunzTarPerm modified mode [ 'toobusy.cc (http://toobusy.cc)', 420, 438 ] 79 silly lockFile 5a95b37f-rtnoternode-node-modules-toobusy tar://C:\nodeproject\node_modules\toobusy 80 silly lockFile 5a95b37f-rtnoternode-node-modules-toobusy tar://C:\nodeproject\node_modules\toobusy 81 silly lockFile 6f0037bd--cache-toobusy-0-2-4-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 82 silly lockFile 6f0037bd--cache-toobusy-0-2-4-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 83 info preinstall toobusy@0.2.4 (mailto:toobusy@0.2.4) 84 verbose readDependencies using package.json deps 85 verbose readDependencies using package.json deps 86 verbose cache add [ 'bindings@1.1.0 (mailto:bindings@1.1.0)', null ] 87 verbose cache add name=undefined spec="bindings@1.1.0 (mailto:bindings@1.1.0)" args=["bindings@1.1.0 (mailto:bindings@1.1.0)",null] 88 verbose parsed url { protocol: null, 88 verbose parsed url slashes: null, 88 verbose parsed url auth: null, 88 verbose parsed url host: null, 88 verbose parsed url port: null, 88 verbose parsed url hostname: null, 88 verbose parsed url hash: null, 88 verbose parsed url search: null, 88 verbose parsed url query: null, 88 verbose parsed url pathname: 'bindings@1.1.0 (mailto:bindings@1.1.0)', 88 verbose parsed url path: 'bindings@1.1.0 (mailto:bindings@1.1.0)', 88 verbose parsed url href: 'bindings@1.1.0 (mailto:bindings@1.1.0)' } 89 verbose cache add name="bindings" spec="1.1.0" args=["bindings","1.1.0"] 90 verbose parsed url { protocol: null, 90 verbose parsed url slashes: null, 90 verbose parsed url auth: null, 90 verbose parsed url host: null, 90 verbose parsed url port: null, 90 verbose parsed url hostname: null, 90 verbose parsed url hash: null, 90 verbose parsed url search: null, 90 verbose parsed url query: null, 90 verbose parsed url pathname: '1.1.0', 90 verbose parsed url path: '1.1.0', 90 verbose parsed url href: '1.1.0' } 91 verbose addNamed [ 'bindings', '1.1.0' ] 92 verbose addNamed [ '1.1.0', '1.1.0' ] 93 silly lockFile ff2d1960-bindings-1-1-0 bindings@1.1.0 (mailto:bindings@1.1.0) 94 verbose lock bindings@1.1.0 (mailto:bindings@1.1.0) C:\Users\bob\AppData\Roaming\npm-cache\ff2d1960-bindings-1-1-0.lock 95 verbose request where is /bindings 96 verbose request registry https://registry.npmjs.org/ 97 verbose url raw /bindings 98 verbose url resolving [ 'https://registry.npmjs.org/', './bindings' ] 99 verbose url resolved https://registry.npmjs.org/bindings 100 verbose request where is https://registry.npmjs.org/bindings 101 info trying registry request attempt 1 at 13:46:50 102 verbose etag "83HU5HKKLRLVHWOG4AK7LF69C" 103 http GET https://registry.npmjs.org/bindings 104 http 304 https://registry.npmjs.org/bindings 105 silly registry.get cb [ 304, 105 silly registry.get { date: 'Mon, 01 Sep 2014 11:46:49 GMT', 105 silly registry.get server: 'Apache', 105 silly registry.get via: '1.1 varnish', 105 silly registry.get 'last-modified': 'Mon, 01 Sep 2014 11:46:49 GMT', 105 silly registry.get 'cache-control': 'max-age=60', 105 silly registry.get etag: '"83HU5HKKLRLVHWOG4AK7LF69C"', 105 silly registry.get 'x-served-by': 'cache-fra1235-FRA', 105 silly registry.get 'x-cache': 'HIT', 105 silly registry.get 'x-cache-hits': '1', 105 silly registry.get 'x-timer': 'S1409572009.550462,VS0,VE0', 105 silly registry.get vary: 'Accept', 105 silly registry.get 'content-length': '0', 105 silly registry.get 'keep-alive': 'timeout=10, max=50', 105 silly registry.get connection: 'Keep-Alive' } ] 106 verbose etag https://registry.npmjs.org/bindings from cache 107 silly lockFile ff2d1960-bindings-1-1-0 bindings@1.1.0 (mailto:bindings@1.1.0) 108 silly lockFile ff2d1960-bindings-1-1-0 bindings@1.1.0 (mailto:bindings@1.1.0) 109 silly resolved [ { name: 'bindings', 109 silly resolved description: 'Helper module for loading your native module\'s .node file', 109 silly resolved keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ], 109 silly resolved version: '1.1.0', 109 silly resolved author: 109 silly resolved { name: 'Nathan Rajlich', 109 silly resolved email: 'nathan@tootallnate.net (mailto:nathan@tootallnate.net)', 109 silly resolved url: 'http://tootallnate.net' }, 109 silly resolved repository: 109 silly resolved { type: 'git', 109 silly resolved url: 'git://github.com/TooTallNate/node-bindings.git' (http://github.com/TooTallNate/node-bindings.git') }, 109 silly resolved main: './bindings.js', 109 silly resolved _id: 'bindings@1.1.0 (mailto:bindings@1.1.0)', 109 silly resolved dist: 109 silly resolved { shasum: 'f3cc4deec19fe31f255864eb1e6ffad857266ef0', 109 silly resolved tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz' }, 109 silly resolved _from: 'bindings@1.1.0 (mailto:bindings@1.1.0)', 109 silly resolved _npmVersion: '1.2.12', 109 silly resolved _npmUser: { name: 'tootallnate', email: 'nathan@tootallnate.net (mailto:nathan@tootallnate.net)' }, 109 silly resolved maintainers: [ [Object], [Object] ], 109 silly resolved directories: {}, 109 silly resolved _shasum: 'f3cc4deec19fe31f255864eb1e6ffad857266ef0', 109 silly resolved _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz', 109 silly resolved bugs: { url: 'https://github.com/TooTallNate/node-bindings/issues' }, 109 silly resolved readme: 'ERROR: No README data found!', 109 silly resolved homepage: 'https://github.com/TooTallNate/node-bindings' } ] 110 info install bindings@1.1.0 (mailto:bindings@1.1.0) into C:\nodeproject\node_modules\toobusy 111 info installOne bindings@1.1.0 (mailto:bindings@1.1.0) 112 verbose node_modules\toobusy\node_modules\bindings unbuild 113 verbose tar unpack C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 114 silly lockFile 4ab5e2da-es-toobusy-node-modules-bindings tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings 115 verbose lock tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings C:\Users\bob\AppData\Roaming\npm-cache\4ab5e2da-es-toobusy-node-modules-bindings.lock 116 silly lockFile 6c7c6441-cache-bindings-1-1-0-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 117 verbose lock tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz C:\Users\bob\AppData\Roaming\npm-cache\6c7c6441-cache-bindings-1-1-0-package-tgz.lock 118 silly gunzTarPerm modes [ '777', '666' ] 119 silly gunzTarPerm extractEntry package.json 120 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ] 121 silly gunzTarPerm extractEntry README.md (http://README.md) 122 silly gunzTarPerm modified mode [ 'README.md (http://README.md)', 420, 438 ] 123 silly gunzTarPerm extractEntry bindings.js 124 silly gunzTarPerm modified mode [ 'bindings.js', 420, 438 ] 125 silly lockFile 4ab5e2da-es-toobusy-node-modules-bindings tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings 126 silly lockFile 4ab5e2da-es-toobusy-node-modules-bindings tar://C:\nodeproject\node_modules\toobusy\node_modules\bindings 127 silly lockFile 6c7c6441-cache-bindings-1-1-0-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 128 silly lockFile 6c7c6441-cache-bindings-1-1-0-package-tgz tar://C:\Users\bob\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 129 info preinstall bindings@1.1.0 (mailto:bindings@1.1.0) 130 verbose readDependencies using package.json deps 131 verbose readDependencies using package.json deps 132 silly resolved [] 133 verbose about to build C:\nodeproject\node_modules\toobusy\node_modules\bindings 134 info build C:\nodeproject\node_modules\toobusy\node_modules\bindings 135 verbose linkStuff [ false, 135 verbose linkStuff false, 135 verbose linkStuff false, 135 verbose linkStuff 'C:\nodeproject\node_modules\toobusy\node_modules' ] 136 info linkStuff bindings@1.1.0 (mailto:bindings@1.1.0) 137 verbose linkBins bindings@1.1.0 (mailto:bindings@1.1.0) 138 verbose linkMans bindings@1.1.0 (mailto:bindings@1.1.0) 139 verbose rebuildBundles bindings@1.1.0 (mailto:bindings@1.1.0) 140 info install bindings@1.1.0 (mailto:bindings@1.1.0) 141 info postinstall bindings@1.1.0 (mailto:bindings@1.1.0) 142 verbose about to build C:\nodeproject\node_modules\toobusy 143 info build C:\nodeproject\node_modules\toobusy 144 verbose linkStuff [ false, 144 verbose linkStuff false, 144 verbose linkStuff false, 144 verbose linkStuff 'C:\nodeproject\node_modules' ] 145 info linkStuff toobusy@0.2.4 (mailto:toobusy@0.2.4) 146 verbose linkBins toobusy@0.2.4 (mailto:toobusy@0.2.4) 147 verbose linkMans toobusy@0.2.4 (mailto:toobusy@0.2.4) 148 verbose rebuildBundles toobusy@0.2.4 (mailto:toobusy@0.2.4) 149 verbose rebuildBundles [ 'bindings' ] 150 info install toobusy@0.2.4 (mailto:toobusy@0.2.4) 151 verbose unsafe-perm in lifecycle true 152 info toobusy@0.2.4 (mailto:toobusy@0.2.4) Failed to exec install script 153 verbose node_modules\toobusy unbuild 154 info preuninstall toobusy@0.2.4 (mailto:toobusy@0.2.4) 155 info uninstall toobusy@0.2.4 (mailto:toobusy@0.2.4) 156 verbose true,C:\nodeproject\node_modules,C:\nodeproject\node_modules unbuild toobusy@0.2.4 (mailto:toobusy@0.2.4) 157 info postuninstall toobusy@0.2.4 (mailto:toobusy@0.2.4) 158 error toobusy@0.2.4 (mailto:toobusy@0.2.4) install: node-gyp rebuild 158 error Exit status 1 159 error Failed at the toobusy@0.2.4 (mailto:toobusy@0.2.4) install script. 159 error This is most likely a problem with the toobusy package, 159 error not with npm itself. 159 error Tell the author that this fails on your system: 159 error node-gyp rebuild 159 error You can get their info via: 159 error npm owner ls toobusy 159 error There is likely additional logging output above. 160 error System Windows_NT 6.1.7601 161 error command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "toobusy" 162 error cwd C:\nodeproject 163 error node -v v0.10.31 164 error npm -v 1.4.23 165 error code ELIFECYCLE 166 verbose exit [ 1, true ]

— Reply to this email directly or view it on GitHub (https://github.com/lloyd/node-toobusy/issues/37#issuecomment-54051048).

bobcaprice commented 10 years ago

Thanks Matej, I'll try that shortly and get back to you. :-)

rooi commented 9 years ago

Hi,

Did you manage to fix this? I would like to use in under windows 7 as well, but I get the same error.

Thanks!

Roy

matejkramny commented 9 years ago

Use a different fork. This one compiles c++ deps.

On Monday, November 17, 2014, rooi notifications@github.com wrote:

Hi,

Did you manage to fix this? I would like to use in under windows 7 as well, but I get the same error.

Thanks!

Roy

— Reply to this email directly or view it on GitHub https://github.com/lloyd/node-toobusy/issues/37#issuecomment-63297453.

bobcaprice commented 9 years ago

Hi,

I ended up using toobusy-js, which worked first time.

Thanks,

George

Date: Mon, 17 Nov 2014 04:25:04 -0800 From: notifications@github.com To: node-toobusy@noreply.github.com CC: bobcaprice@hotmail.com Subject: Re: [node-toobusy] Can't install toobusy on Windows 7! (#37)

Hi,

Did you manage to fix this? I would like to use in under windows 7 as well, but I get the same error.

Thanks!

Roy

— Reply to this email directly or view it on GitHub.

                  =
rooi commented 9 years ago

Thanks George and Matej. toobusy-js works fine.

rooi commented 9 years ago

Hi,

Using this command toobusy worked as well: npm install toobusy --msvs_version=2013 --python=C:\Python27\python.exe

Setting environment variables like PYTHON, PYTHONPATH and/or add python the the PATH did not work for some reason. Perhaps someone can use this, or maybe it can help fixing this issue?

Roy

ORESoftware commented 9 years ago

I am on Windows7 and I get this error (NPM-debug.log)

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\nodemodules\npm\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'toobusy', 1 verbose cli '-g' ] 2 info using npm@2.5.1 3 info using node@v0.12.1 4 verbose node symlink C:\Program Files\nodejs\node.exe 5 silly cache add args [ 'toobusy', null ] 6 verbose cache add spec toobusy 7 silly cache add parsed spec { raw: 'toobusy', 7 silly cache add scope: null, 7 silly cache add name: 'toobusy', 7 silly cache add rawSpec: '', 7 silly cache add spec: '', 7 silly cache add type: 'range' } 8 verbose addNamed toobusy@ 9 silly addNamed semver.valid null 10 silly addNamed semver.validRange * 11 silly addNameRange { name: 'toobusy', range: '', hasData: false } 12 silly mapToRegistry name toobusy 13 silly mapToRegistry using default registry 14 silly mapToRegistry registry https://registry.npmjs.org/ 15 silly mapToRegistry uri https://registry.npmjs.org/toobusy 16 verbose addNameRange registry:https://registry.npmjs.org/toobusy not in flight; fetching 17 verbose request uri https://registry.npmjs.org/toobusy 18 verbose request no auth needed 19 info attempt registry request try #1 at 12:15:43 AM 20 verbose request id e8e70f65a4a72ee6 21 http request GET https://registry.npmjs.org/toobusy 22 http 200 https://registry.npmjs.org/toobusy 23 silly get cb [ 200, 23 silly get { date: 'Thu, 16 Apr 2015 07:15:37 GMT', 23 silly get server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)', 23 silly get etag: '"DG2J9MEOR6J58QPN5JLM94YVY"', 23 silly get 'content-type': 'application/json', 23 silly get 'cache-control': 'max-age=60', 23 silly get 'content-length': '10841', 23 silly get 'accept-ranges': 'bytes', 23 silly get via: '1.1 varnish', 23 silly get age: '0', 23 silly get 'x-served-by': 'cache-sjc3135-SJC', 23 silly get 'x-cache': 'HIT', 23 silly get 'x-cache-hits': '1', 23 silly get 'x-timer': 'S1429168537.613910,VS0,VE35', 23 silly get vary: 'Accept', 23 silly get 'keep-alive': 'timeout=10, max=50', 23 silly get connection: 'Keep-Alive' } ] 24 verbose get saving toobusy to C:\Users\denman\AppData\Roaming\npm-cache\registry.npmjs.org\toobusy.cache.json 25 silly addNameRange number 2 { name: 'toobusy', range: '_', hasData: true } 26 silly addNameRange versions [ 'toobusy', 26 silly addNameRange [ '0.0.1', 26 silly addNameRange '0.1.0', 26 silly addNameRange '0.1.1', 26 silly addNameRange '0.2.0', 26 silly addNameRange '0.2.1', 26 silly addNameRange '0.2.2', 26 silly addNameRange '0.2.3', 26 silly addNameRange '0.2.4' ] ] 27 verbose addNamed toobusy@0.2.4 28 silly addNamed semver.valid 0.2.4 29 silly addNamed semver.validRange 0.2.4 30 silly mapToRegistry name toobusy 31 silly mapToRegistry using default registry 32 silly mapToRegistry registry https://registry.npmjs.org/ 33 silly mapToRegistry uri https://registry.npmjs.org/toobusy 34 verbose addRemoteTarball https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz not in flight; adding 35 verbose addRemoteTarball [ 'https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz', 35 verbose addRemoteTarball 'd97a3ee760b2462388e15f8526579b4b64bb193d' ] 36 info retry fetch attempt 1 at 12:15:44 AM 37 info attempt registry request try #1 at 12:15:44 AM 38 http fetch GET https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz 39 http fetch 200 https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz 40 silly fetchAndShaCheck shasum d97a3ee760b2462388e15f8526579b4b64bb193d 41 verbose addTmpTarball C:\Users\denman\AppData\Local\Temp\npm-6268-e8ccf5ea\registry.npmjs.org\toobusy-\toobusy-0.2.4.tgz not in flight; adding 42 verbose addTmpTarball already have metadata; skipping unpack for toobusy@0.2.4 43 silly cache afterAdd toobusy@0.2.4 44 verbose afterAdd C:\Users\denman\AppData\Roaming\npm-cache\toobusy\0.2.4\package\package.json not in flight; writing 45 verbose afterAdd C:\Users\denman\AppData\Roaming\npm-cache\toobusy\0.2.4\package\package.json written 46 silly install resolved [ { name: 'toobusy', 46 silly install resolved description: 'Don\'t fall over when your Node.JS server is too busy.', 46 silly install resolved homepage: 'https://github.com/lloyd/node-toobusy', 46 silly install resolved version: '0.2.4', 46 silly install resolved dependencies: { bindings: '1.1.0' }, 46 silly install resolved devDependencies: { should: '1.2.1', mocha: '1.7.0' }, 46 silly install resolved maintainers: [ [Object] ], 46 silly install resolved bugs: { url: 'https://github.com/lloyd/node-toobusy/issues' }, 46 silly install resolved licenses: [ [Object] ], 46 silly install resolved repository: { type: 'git', url: 'git://github.com/lloyd/node-toobusy.git' }, 46 silly install resolved main: './index.js', 46 silly install resolved engines: { node: '>=0.8.0' }, 46 silly install resolved scripts: { test: 'mocha tests', install: 'node-gyp rebuild' }, 46 silly install resolved gypfile: true, 46 silly install resolved _id: 'toobusy@0.2.4', 46 silly install resolved dist: 46 silly install resolved { shasum: 'd97a3ee760b2462388e15f8526579b4b64bb193d', 46 silly install resolved tarball: 'http://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz' }, 46 silly install resolved _from: 'toobusy@*', 46 silly install resolved _npmVersion: '1.3.11', 46 silly install resolved _npmUser: { name: 'lloyd', email: 'lloyd@hilaiel.com' }, 46 silly install resolved directories: {}, 46 silly install resolved _shasum: 'd97a3ee760b2462388e15f8526579b4b64bb193d', 46 silly install resolved _resolved: 'https://registry.npmjs.org/toobusy/-/toobusy-0.2.4.tgz' } ] 47 info install toobusy@0.2.4 into C:\Users\denman\AppData\Roaming\npm 48 info installOne toobusy@0.2.4 49 verbose installOne of toobusy to C:\Users\denman\AppData\Roaming\npm not in flight; installing 50 verbose lock using C:\Users\denman\AppData\Roaming\npm-cache_locks\toobusy-d933b601f6e7e784.lock for C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 51 silly install write writing toobusy 0.2.4 to C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 52 silly cache addNamed cb toobusy@0.2.4 53 verbose unbuild node_modules\toobusy 54 verbose gentlyRm vacuuming C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 55 verbose tar unpack C:\Users\denman\AppData\Roaming\npm-cache\toobusy\0.2.4\package.tgz 56 verbose tar unpacking to C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 57 verbose gentlyRm vacuuming C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 58 silly gunzTarPerm modes [ '777', '666' ] 59 silly gunzTarPerm extractEntry package.json 60 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ] 61 silly gunzTarPerm extractEntry .npmignore 62 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ] 63 silly gunzTarPerm extractEntry README.md 64 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ] 65 silly gunzTarPerm extractEntry index.js 66 silly gunzTarPerm modified mode [ 'index.js', 420, 438 ] 67 silly gunzTarPerm extractEntry tests.js 68 silly gunzTarPerm modified mode [ 'tests.js', 420, 438 ] 69 silly gunzTarPerm extractEntry .travis.yml 70 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ] 71 silly gunzTarPerm extractEntry ChangeLog 72 silly gunzTarPerm modified mode [ 'ChangeLog', 420, 438 ] 73 silly gunzTarPerm extractEntry binding.gyp 74 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ] 75 silly gunzTarPerm extractEntry examples/package.json 76 silly gunzTarPerm modified mode [ 'examples/package.json', 420, 438 ] 77 silly gunzTarPerm extractEntry examples/express.js 78 silly gunzTarPerm modified mode [ 'examples/express.js', 420, 438 ] 79 silly gunzTarPerm extractEntry examples/http.js 80 silly gunzTarPerm modified mode [ 'examples/http.js', 420, 438 ] 81 silly gunzTarPerm extractEntry examples/load.js 82 silly gunzTarPerm modified mode [ 'examples/load.js', 420, 438 ] 83 silly gunzTarPerm extractEntry examples/standalone.js 84 silly gunzTarPerm modified mode [ 'examples/standalone.js', 420, 438 ] 85 silly gunzTarPerm extractEntry examples/before.txt 86 silly gunzTarPerm modified mode [ 'examples/before.txt', 420, 438 ] 87 silly gunzTarPerm extractEntry examples/lower_dampening.txt 88 silly gunzTarPerm modified mode [ 'examples/lower_dampening.txt', 420, 438 ] 89 silly gunzTarPerm extractEntry toobusy.cc 90 silly gunzTarPerm modified mode [ 'toobusy.cc', 420, 438 ] 91 info preinstall toobusy@0.2.4 92 silly prepareForInstallMany adding bindings@1.1.0 from toobusy dependencies 93 silly cache add args [ 'bindings@1.1.0', null ] 94 verbose cache add spec bindings@1.1.0 95 silly cache add parsed spec { raw: 'bindings@1.1.0', 95 silly cache add scope: null, 95 silly cache add name: 'bindings', 95 silly cache add rawSpec: '1.1.0', 95 silly cache add spec: '1.1.0', 95 silly cache add type: 'version' } 96 verbose addNamed bindings@1.1.0 97 silly addNamed semver.valid 1.1.0 98 silly addNamed semver.validRange 1.1.0 99 silly mapToRegistry name bindings 100 silly mapToRegistry using default registry 101 silly mapToRegistry registry https://registry.npmjs.org/ 102 silly mapToRegistry uri https://registry.npmjs.org/bindings 103 verbose addNameVersion registry:https://registry.npmjs.org/bindings not in flight; fetching 104 verbose request uri https://registry.npmjs.org/bindings 105 verbose request no auth needed 106 info attempt registry request try #1 at 12:15:44 AM 107 verbose etag "5997G8NY1OJEMZ1HNHL7VBX5J" 108 http request GET https://registry.npmjs.org/bindings 109 http 304 https://registry.npmjs.org/bindings 110 silly get cb [ 304, 110 silly get { date: 'Thu, 16 Apr 2015 07:15:38 GMT', 110 silly get server: 'Apache', 110 silly get via: '1.1 varnish', 110 silly get 'last-modified': 'Thu, 16 Apr 2015 07:15:38 GMT', 110 silly get 'cache-control': 'max-age=60', 110 silly get etag: '"5997G8NY1OJEMZ1HNHL7VBX5J"', 110 silly get age: '0', 110 silly get 'x-served-by': 'cache-sjc3126-SJC', 110 silly get 'x-cache': 'HIT', 110 silly get 'x-cache-hits': '1', 110 silly get 'x-timer': 'S1429168538.397954,VS0,VE149', 110 silly get vary: 'Accept', 110 silly get 'content-length': '0', 110 silly get 'keep-alive': 'timeout=10, max=50', 110 silly get connection: 'Keep-Alive' } ] 111 verbose etag https://registry.npmjs.org/bindings from cache 112 verbose get saving bindings to C:\Users\denman\AppData\Roaming\npm-cache\registry.npmjs.org\bindings.cache.json 113 silly mapToRegistry name bindings 114 silly mapToRegistry using default registry 115 silly mapToRegistry registry https://registry.npmjs.org/ 116 silly mapToRegistry uri https://registry.npmjs.org/bindings 117 verbose addRemoteTarball https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz not in flight; adding 118 verbose addRemoteTarball [ 'https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz', 118 verbose addRemoteTarball 'f3cc4deec19fe31f255864eb1e6ffad857266ef0' ] 119 info retry fetch attempt 1 at 12:15:45 AM 120 info attempt registry request try #1 at 12:15:45 AM 121 http fetch GET https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz 122 http fetch 200 https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz 123 silly fetchAndShaCheck shasum f3cc4deec19fe31f255864eb1e6ffad857266ef0 124 verbose addTmpTarball C:\Users\denman\AppData\Local\Temp\npm-6268-e8ccf5ea\registry.npmjs.org\bindings-\bindings-1.1.0.tgz not in flight; adding 125 verbose addTmpTarball already have metadata; skipping unpack for bindings@1.1.0 126 silly cache afterAdd bindings@1.1.0 127 verbose afterAdd C:\Users\denman\AppData\Roaming\npm-cache\bindings\1.1.0\package\package.json not in flight; writing 128 verbose afterAdd C:\Users\denman\AppData\Roaming\npm-cache\bindings\1.1.0\package\package.json written 129 silly install resolved [ { name: 'bindings', 129 silly install resolved description: 'Helper module for loading your native module\'s .node file', 129 silly install resolved keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ], 129 silly install resolved version: '1.1.0', 129 silly install resolved author: 129 silly install resolved { name: 'Nathan Rajlich', 129 silly install resolved email: 'nathan@tootallnate.net', 129 silly install resolved url: 'http://tootallnate.net' }, 129 silly install resolved repository: 129 silly install resolved { type: 'git', 129 silly install resolved url: 'git://github.com/TooTallNate/node-bindings.git' }, 129 silly install resolved main: './bindings.js', 129 silly install resolved _id: 'bindings@1.1.0', 129 silly install resolved dist: 129 silly install resolved { shasum: 'f3cc4deec19fe31f255864eb1e6ffad857266ef0', 129 silly install resolved tarball: 'http://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz' }, 129 silly install resolved _from: 'bindings@1.1.0', 129 silly install resolved _npmVersion: '1.2.12', 129 silly install resolved _npmUser: { name: 'tootallnate', email: 'nathan@tootallnate.net' }, 129 silly install resolved maintainers: [ [Object], [Object] ], 129 silly install resolved directories: {}, 129 silly install resolved _shasum: 'f3cc4deec19fe31f255864eb1e6ffad857266ef0', 129 silly install resolved _resolved: 'https://registry.npmjs.org/bindings/-/bindings-1.1.0.tgz' } ] 130 info install bindings@1.1.0 into C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 131 info installOne bindings@1.1.0 132 verbose installOne of bindings to C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy not in flight; installing 133 verbose lock using C:\Users\denman\AppData\Roaming\npm-cache_locks\bindings-3c3644ae93baca6c.lock for C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 134 silly install write writing bindings 1.1.0 to C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 135 silly cache addNamed cb bindings@1.1.0 136 verbose unbuild node_modules\toobusy\node_modules\bindings 137 verbose gentlyRm vacuuming C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 138 verbose tar unpack C:\Users\denman\AppData\Roaming\npm-cache\bindings\1.1.0\package.tgz 139 verbose tar unpacking to C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 140 verbose gentlyRm vacuuming C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 141 silly gunzTarPerm modes [ '777', '666' ] 142 silly gunzTarPerm extractEntry package.json 143 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ] 144 silly gunzTarPerm extractEntry README.md 145 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ] 146 silly gunzTarPerm extractEntry bindings.js 147 silly gunzTarPerm modified mode [ 'bindings.js', 420, 438 ] 148 info preinstall bindings@1.1.0 149 silly install resolved [] 150 verbose about to build C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 151 info build C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 152 verbose linkStuff [ true, 152 verbose linkStuff 'C:\Users\denman\AppData\Roaming\npm\node_modules', 152 verbose linkStuff false, 152 verbose linkStuff 'C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules' ] 153 info linkStuff bindings@1.1.0 154 verbose linkBins bindings@1.1.0 155 verbose linkMans bindings@1.1.0 156 verbose rebuildBundles bindings@1.1.0 157 info install bindings@1.1.0 158 info postinstall bindings@1.1.0 159 verbose unlock done using C:\Users\denman\AppData\Roaming\npm-cache_locks\bindings-3c3644ae93baca6c.lock for C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy\node_modules\bindings 160 verbose about to build C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 161 info build C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 162 verbose linkStuff [ true, 162 verbose linkStuff 'C:\Users\denman\AppData\Roaming\npm\node_modules', 162 verbose linkStuff true, 162 verbose linkStuff 'C:\Users\denman\AppData\Roaming\npm\node_modules' ] 163 info linkStuff toobusy@0.2.4 164 verbose linkBins toobusy@0.2.4 165 verbose linkMans toobusy@0.2.4 166 verbose rebuildBundles toobusy@0.2.4 167 verbose rebuildBundles [ 'bindings' ] 168 info install toobusy@0.2.4 169 verbose unsafe-perm in lifecycle true 170 info toobusy@0.2.4 Failed to exec install script 171 verbose unlock done using C:\Users\denman\AppData\Roaming\npm-cache_locks\toobusy-d933b601f6e7e784.lock for C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 172 verbose stack Error: toobusy@0.2.4 install: node-gyp rebuild 172 verbose stack Exit status 1 172 verbose stack at EventEmitter. (C:\Users\denman\AppData\Roaming\nvm\v0.12.1\node_modules\npm\lib\utils\lifecycle.js:213:16) 172 verbose stack at EventEmitter.emit (events.js:110:17) 172 verbose stack at ChildProcess. (C:\Users\denman\AppData\Roaming\nvm\v0.12.1\node_modules\npm\lib\utils\spawn.js:14:12) 172 verbose stack at ChildProcess.emit (events.js:110:17) 172 verbose stack at maybeClose (child_process.js:1008:16) 172 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5) 173 verbose pkgid toobusy@0.2.4 174 verbose cwd C:\Users\denman\WebstormProjects\node_sports_lineup 175 error Windows_NT 6.1.7601 176 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "toobusy" "-g" 177 error node v0.12.1 178 error npm v2.5.1 179 error code ELIFECYCLE 180 error toobusy@0.2.4 install: node-gyp rebuild 180 error Exit status 1 181 error Failed at the toobusy@0.2.4 install script 'node-gyp rebuild'. 181 error This is most likely a problem with the toobusy package, 181 error not with npm itself. 181 error Tell the author that this fails on your system: 181 error node-gyp rebuild 181 error You can get their info via: 181 error npm owner ls toobusy 181 error There is likely additional logging output above. 182 verbose exit [ 1, true ] 183 verbose unbuild node_modules\toobusy 184 info preuninstall toobusy@0.2.4 185 info uninstall toobusy@0.2.4 186 verbose unbuild rmStuff toobusy@0.2.4 from C:\Users\denman\AppData\Roaming\npm\node_modules 187 info postuninstall toobusy@0.2.4 188 verbose gentlyRm vacuuming C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 189 silly gentlyRm purging C:\Users\denman\AppData\Roaming\npm\node_modules\toobusy 190 silly gentlyRm quitting because other entries in C:\Users\denman\AppData\Roaming\npm\node_modules

ORESoftware commented 9 years ago

Matej:

"There is a JS-only fork which you could try. It doesn’t depend on node-gyp

Matej Kramny"

where is this JS only repo located? thanks

ORESoftware commented 9 years ago

is this it? https://www.versioneye.com/nodejs/toobusy-js/0.3.0 npm install toobusy-js@0.3.0

matejkramny commented 9 years ago

This is the js-only fork. https://github.com/STRML/node-toobusy