Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-gyp failing on Windows x64 #154

Closed
seanmonstar opened this issue Oct 25, 2012 · 49 comments
Closed

node-gyp failing on Windows x64 #154

seanmonstar opened this issue Oct 25, 2012 · 49 comments
Labels

Comments

@seanmonstar
Copy link

seanmonstar commented Oct 25, 2012

As seen in kelektiv/node.bcrypt.js#122, there's an error building native modules on Windows x64. I see the same error when build node-proxy, node-mailer, and others.

npm install bcrypt
> bcrypt@0.7.1 install D:\Users\Sean\Documents\Mozilla\browserid\node_modules\bcrypt
> node-gyp rebuild


D:\Users\Sean\Documents\Mozilla\browserid\node_modules\bcrypt>node "C:\Program F
iles\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\n
ode-gyp.js" rebuild
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform
.Targets(23,7): error MSB8007: The Platform for project 'bcrypt_lib.vcxproj' is
 invalid.  Platform='x64'. You may be seeing this message because you are tryin
g to build a project without a solution file, and have specified a non-default
Platform that doesn't exist for this project. [D:\Users\Sean\Documents\Mozilla\
browserid\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
les\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Users\Sean\Documents\Mozilla\browserid\node_modules\bcrypt
gyp ERR! node -v v0.8.12
gyp ERR! node-gyp -v v0.7.0
gyp ERR! not ok
npm ERR! bcrypt@0.7.1 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.1 install script.
npm ERR! This is most likely a problem with the bcrypt 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 bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bcrypt"
npm ERR! cwd D:\Users\Sean\Documents\Mozilla\browserid
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     D:\Users\Sean\Documents\Mozilla\browserid\npm-debug.log
npm ERR! not ok code 0
@TooTallNate
Copy link
Contributor

There's really nothing I can say except that it works on my setup, and I can't reproduce the error, so it's something on your end. Please do post back here if you find out what it is though.

@seanmonstar
Copy link
Author

Hmm, ok. I'll post my exact versions just for the record:

Node (x64 msi): 0.8.12
npm: 1.1.63
node-gyp: 0.7.0
Microsoft Visual C++ 2010 Express v10.0.30319.1 RTMRel
Windows 7 Profession 64-bit: 6.1 Build 7600

@detj
Copy link

detj commented Nov 9, 2012

Failing on my system as well
node: (x64 msi) 0.8.11
npm: 1.1.62
node-gyp: 0.7.3
Windows 8 Consumer Preview v6.2.8250
Microsoft Visual C++ 2010 Express

Debug Log for npm

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\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-d',
1 verbose cli   '--save' ]
2 info using npm@1.1.62
3 info using node@v0.8.11
4 verbose read json c:\Users\detj\projects\hangtag\package.json
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ 'c:\\Users\\detj\\projects\\hangtag',
6 verbose install   [ 'quickthumb',
6 verbose install     'mkdirp',
6 verbose install     'qrcode',
6 verbose install     'express',
6 verbose install     'jade',
6 verbose install     'forever',
6 verbose install     'mongodb',
6 verbose install     'mongojs',
6 verbose install     'bcrypt',
6 verbose install     'underscore',
6 verbose install     'imagemagick' ] ]
7 verbose from cache c:\Users\detj\projects\hangtag\package.json
8 info preinstall QlikTag@0.4.21
9 verbose read json c:\Users\detj\projects\hangtag\node_modules\bson\package.json
10 verbose read json c:\Users\detj\projects\hangtag\node_modules\colors\package.json
11 verbose read json c:\Users\detj\projects\hangtag\node_modules\express\package.json
12 verbose read json c:\Users\detj\projects\hangtag\node_modules\express-validator\package.json
13 verbose read json c:\Users\detj\projects\hangtag\node_modules\forever\package.json
14 verbose read json c:\Users\detj\projects\hangtag\node_modules\formidable\package.json
15 verbose read json c:\Users\detj\projects\hangtag\node_modules\imagemagick\package.json
16 verbose read json c:\Users\detj\projects\hangtag\node_modules\jade\package.json
17 verbose read json c:\Users\detj\projects\hangtag\node_modules\mkdirp\package.json
18 verbose read json c:\Users\detj\projects\hangtag\node_modules\mongodb\package.json
19 verbose read json c:\Users\detj\projects\hangtag\node_modules\mongojs\package.json
20 verbose read json c:\Users\detj\projects\hangtag\node_modules\quickthumb\package.json
21 verbose read json c:\Users\detj\projects\hangtag\node_modules\underscore\package.json
22 warn package.json bson@0.1.5 No README.md file found!
23 verbose from cache c:\Users\detj\projects\hangtag\package.json
24 verbose readDependencies using package.json deps
25 verbose read json c:\Users\detj\projects\hangtag\node_modules\.bin\package.json
26 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bson\package.json
27 verbose from cache c:\Users\detj\projects\hangtag\node_modules\colors\package.json
28 verbose from cache c:\Users\detj\projects\hangtag\node_modules\express\package.json
29 verbose from cache c:\Users\detj\projects\hangtag\node_modules\express-validator\package.json
30 verbose from cache c:\Users\detj\projects\hangtag\node_modules\forever\package.json
31 verbose from cache c:\Users\detj\projects\hangtag\node_modules\formidable\package.json
32 verbose from cache c:\Users\detj\projects\hangtag\node_modules\imagemagick\package.json
33 verbose from cache c:\Users\detj\projects\hangtag\node_modules\jade\package.json
34 verbose from cache c:\Users\detj\projects\hangtag\node_modules\mkdirp\package.json
35 verbose from cache c:\Users\detj\projects\hangtag\node_modules\mongodb\package.json
36 verbose from cache c:\Users\detj\projects\hangtag\node_modules\mongojs\package.json
37 verbose from cache c:\Users\detj\projects\hangtag\node_modules\quickthumb\package.json
38 verbose from cache c:\Users\detj\projects\hangtag\node_modules\underscore\package.json
39 verbose already installed skipping quickthumb@0.0.5 c:\Users\detj\projects\hangtag
40 verbose already installed skipping mkdirp@~0.3.4 c:\Users\detj\projects\hangtag
41 verbose cache add [ 'qrcode@~0.2.4', null ]
42 silly cache add name=undefined spec="qrcode@~0.2.4" args=["qrcode@~0.2.4",null]
43 verbose parsed url { pathname: 'qrcode@~0.2.4',
43 verbose parsed url   path: 'qrcode@~0.2.4',
43 verbose parsed url   href: 'qrcode@~0.2.4' }
44 silly cache add name="qrcode" spec="~0.2.4" args=["qrcode","~0.2.4"]
45 verbose parsed url { pathname: '~0.2.4', path: '~0.2.4', href: '~0.2.4' }
46 verbose addNamed [ 'qrcode', '~0.2.4' ]
47 verbose addNamed [ null, '>=0.2.4- <0.3.0-' ]
48 verbose already installed skipping express@~3.0.1 c:\Users\detj\projects\hangtag
49 verbose already installed skipping jade@~0.27.6 c:\Users\detj\projects\hangtag
50 verbose already installed skipping forever@~0.10.0 c:\Users\detj\projects\hangtag
51 verbose already installed skipping mongodb@~1.1.11 c:\Users\detj\projects\hangtag
52 verbose already installed skipping mongojs@~0.4.5 c:\Users\detj\projects\hangtag
53 verbose cache add [ 'bcrypt@~0.7.3', null ]
54 silly cache add name=undefined spec="bcrypt@~0.7.3" args=["bcrypt@~0.7.3",null]
55 verbose parsed url { pathname: 'bcrypt@~0.7.3',
55 verbose parsed url   path: 'bcrypt@~0.7.3',
55 verbose parsed url   href: 'bcrypt@~0.7.3' }
56 silly cache add name="bcrypt" spec="~0.7.3" args=["bcrypt","~0.7.3"]
57 verbose parsed url { pathname: '~0.7.3', path: '~0.7.3', href: '~0.7.3' }
58 verbose addNamed [ 'bcrypt', '~0.7.3' ]
59 verbose addNamed [ null, '>=0.7.3- <0.8.0-' ]
60 verbose already installed skipping underscore@~1.4.2 c:\Users\detj\projects\hangtag
61 verbose already installed skipping imagemagick@~0.1.3 c:\Users\detj\projects\hangtag
62 silly lockFile ed22b9c0-qrcode-0-2-4 qrcode@~0.2.4
63 verbose lock qrcode@~0.2.4 C:\Users\detj\AppData\Roaming\npm-cache\ed22b9c0-qrcode-0-2-4.lock
64 silly lockFile 7a5fef7e-bcrypt-0-7-3 bcrypt@~0.7.3
65 verbose lock bcrypt@~0.7.3 C:\Users\detj\AppData\Roaming\npm-cache\7a5fef7e-bcrypt-0-7-3.lock
66 silly addNameRange { name: 'qrcode', range: '>=0.2.4- <0.3.0-', hasData: false }
67 silly addNameRange { name: 'bcrypt', range: '>=0.7.3- <0.8.0-', hasData: false }
68 verbose url raw qrcode
69 verbose url resolving [ 'https://registry.npmjs.org/', './qrcode' ]
70 verbose url resolved https://registry.npmjs.org/qrcode
71 info trying registry request attempt 1 at 13:44:42
72 verbose etag "87X3NBLHWUC9AMJZWGRGTQ1J6"
73 http GET https://registry.npmjs.org/qrcode
74 verbose url raw bcrypt
75 verbose url resolving [ 'https://registry.npmjs.org/', './bcrypt' ]
76 verbose url resolved https://registry.npmjs.org/bcrypt
77 info trying registry request attempt 1 at 13:44:43
78 verbose etag "3T4MKP86DYFH1WTKTGTUJO7F6"
79 http GET https://registry.npmjs.org/bcrypt
80 http 304 https://registry.npmjs.org/bcrypt
81 silly registry.get cb [ 304,
81 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
81 silly registry.get     etag: '"3T4MKP86DYFH1WTKTGTUJO7F6"',
81 silly registry.get     date: 'Fri, 09 Nov 2012 08:14:30 GMT',
81 silly registry.get     'content-length': '0' } ]
82 verbose etag bcrypt from cache
83 silly addNameRange number 2 { name: 'bcrypt', range: '>=0.7.3- <0.8.0-', hasData: true }
84 silly addNameRange versions [ 'bcrypt',
84 silly addNameRange   [ '0.1.2',
84 silly addNameRange     '0.2.0',
84 silly addNameRange     '0.2.1',
84 silly addNameRange     '0.1.3',
84 silly addNameRange     '0.2.2',
84 silly addNameRange     '0.2.3',
84 silly addNameRange     '0.2.4',
84 silly addNameRange     '0.3.0',
84 silly addNameRange     '0.3.1',
84 silly addNameRange     '0.3.2',
84 silly addNameRange     '0.4.0',
84 silly addNameRange     '0.4.1',
84 silly addNameRange     '0.5.0',
84 silly addNameRange     '0.6.0',
84 silly addNameRange     '0.7.0',
84 silly addNameRange     '0.7.1',
84 silly addNameRange     '0.7.2',
84 silly addNameRange     '0.7.3' ] ]
85 verbose addNamed [ 'bcrypt', '0.7.3' ]
86 verbose addNamed [ '0.7.3', '0.7.3' ]
87 silly lockFile 0a0774b2-bcrypt-0-7-3 bcrypt@0.7.3
88 verbose lock bcrypt@0.7.3 C:\Users\detj\AppData\Roaming\npm-cache\0a0774b2-bcrypt-0-7-3.lock
89 verbose read json C:\Users\detj\AppData\Roaming\npm-cache\bcrypt\0.7.3\package\package.json
90 silly lockFile 0a0774b2-bcrypt-0-7-3 bcrypt@0.7.3
91 silly lockFile 7a5fef7e-bcrypt-0-7-3 bcrypt@~0.7.3
92 http 304 https://registry.npmjs.org/qrcode
93 silly registry.get cb [ 304,
93 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
93 silly registry.get     etag: '"87X3NBLHWUC9AMJZWGRGTQ1J6"',
93 silly registry.get     date: 'Fri, 09 Nov 2012 08:14:31 GMT',
93 silly registry.get     'content-length': '0' } ]
94 verbose etag qrcode from cache
95 silly addNameRange number 2 { name: 'qrcode', range: '>=0.2.4- <0.3.0-', hasData: true }
96 silly addNameRange versions [ 'qrcode',
96 silly addNameRange   [ '0.0.1',
96 silly addNameRange     '0.0.2',
96 silly addNameRange     '0.0.3',
96 silly addNameRange     '0.1.0',
96 silly addNameRange     '0.1.1',
96 silly addNameRange     '0.2.2',
96 silly addNameRange     '0.2.3',
96 silly addNameRange     '0.2.4' ] ]
97 verbose addNamed [ 'qrcode', '0.2.4' ]
98 verbose addNamed [ '0.2.4', '0.2.4' ]
99 silly lockFile 124b18eb-qrcode-0-2-4 qrcode@0.2.4
100 verbose lock qrcode@0.2.4 C:\Users\detj\AppData\Roaming\npm-cache\124b18eb-qrcode-0-2-4.lock
101 verbose read json C:\Users\detj\AppData\Roaming\npm-cache\qrcode\0.2.4\package\package.json
102 silly lockFile 124b18eb-qrcode-0-2-4 qrcode@0.2.4
103 silly lockFile ed22b9c0-qrcode-0-2-4 qrcode@~0.2.4
104 silly resolved [ { name: 'bcrypt',
104 silly resolved     description: 'A bcrypt library for NodeJS.',
104 silly resolved     keywords:
104 silly resolved      [ 'bcrypt',
104 silly resolved        'password',
104 silly resolved        'auth',
104 silly resolved        'authentication',
104 silly resolved        'encryption',
104 silly resolved        'crypt',
104 silly resolved        'crypto' ],
104 silly resolved     main: './bcrypt',
104 silly resolved     version: '0.7.3',
104 silly resolved     author: { name: 'Nick Campbell', url: 'http://github.com/ncb000gt' },
104 silly resolved     engines: { node: '>= 0.6.0' },
104 silly resolved     repository:
104 silly resolved      { type: 'git',
104 silly resolved        url: 'http://github.com/ncb000gt/node.bcrypt.js.git' },
104 silly resolved     licenses: [ [Object] ],
104 silly resolved     bugs: { url: 'http://github.com/ncb000gt/node.bcrypt.js/issues' },
104 silly resolved     scripts:
104 silly resolved      { test: 'node-gyp configure build && nodeunit test',
104 silly resolved        install: 'node-gyp rebuild' },
104 silly resolved     dependencies: { bindings: '1.0.0' },
104 silly resolved     devDependencies: { nodeunit: '>=0.6.4' },
104 silly resolved     contributors:
104 silly resolved      [ [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object],
104 silly resolved        [Object] ],
104 silly resolved     gypfile: true,
104 silly resolved     readme: 'node.bcrypt.js\n=============\n\n[![Build Status](https://secure.travis-ci.org/ncb000gt/node.bcrypt.js.png)](http://travis-ci.org/#!/ncb000gt/node.bcrypt.js) \n\nLib to help you hash passwords.\n[bcrypt on wikipedia][bcryptwiki]\n\nCatalyst for this module: [How To Safely Store A Password][codahale]\n\nIf You Are Submitting Bugs/Issues\n=============\n\nBecause we can\'t magically know what you are doing to expose an issue, it is best if you provide a snippet of code. This snippet need not include your secret sauce, but it must replicate the issue you are describing. The issues that get closed without resolution tend to be the ones without code examples. Thanks.\n\n\nVersion Compatability\n=============\n\n<table>\n<tr>\n<td>Node Ver</td><td>Bcrypt Version</td>\n</tr>\n<tr>\n<td>&lt;= 0.4.x</td><td>&lt;= 0.4.x</td>\n</tr>\n<tr>\n<td>&gt;= 0.6.x</td><td>&gt;= 0.5.x</td>\n</tr>\n</table>\n\nWindows users should make sure to have at least node 0.8.5 installed and version >= 0.7.1 of this module.  \n`node-gyp` only works with stable/released versions of node. Since the `bcrypt` module uses `node-gyp` to build and install you\'ll need a stable version of node to use bcrypt. If you do not you\'ll likely see an error that starts with:\n\n    gyp ERR! stack Error: "pre" versions of node cannot be installed, use the --nodedir flag instead\n\n\n\nSecurity Issues/Concerns\n=============\n\nAs should be the case with any security tool, this library should be scrutinized by anyone using it. If you find or suspect an issue with the code- please bring it to my attention and I\'ll spend some time trying to make sure that this tool is as secure as possible.\n\nTo make it easier for people using this tool to analyze what has been surveyed, here is a list of BCrypt related security issues/concerns as they\'ve come up.\n\n* An [issue with passwords][jtr] was found with a version of the Blowfish algorithm developed for John the Ripper. This is not present in the OpenBSD version and is thus not a problem for this module. HT [zooko][zooko].\n\nDependencies\n=============\n\n* NodeJS\n* OpenSSL (Development Libraries (header files) for compilation)\n * For Windows you\'ll need http://slproweb.com/products/Win32OpenSSL.html installed to the default location of `C:\\OpenSSL-Win32`\n  * Please note that for this to build properly you\'ll need the Normal version of OpenSSL-Win<arch>, not the Light version. The reason for this is that we need to be able to compile the code using the header files that exist in the Normal version.\n  * For 64 bit use the 64 bit version and install to `C:\\OpenSSL-Win64`\n* `node-gyp`\n * Please check the dependencies for this tool at: https://github.com/TooTallNate/node-gyp/\n  * Windows users will need the options for c# and c++ installed with their visual studio instance.\n  * Python 2.x\n\nFrom NPM\n============\n\n    npm install bcrypt\n\n\nFrom Source\n============\n\nAssuming you\'ve already built node, you can compile the module with `node-gyp`:\n\n    git clone git://github.com/ncb000gt/node.bcrypt.js.git\n    cd node.bcrypt.js\n    node-gyp configure\n    node-gyp build\n\n\nNote: if you do not have node-gyp installed, install it using: `npm install -g node-gyp`\n\nUsage - Sync\n============\n\nTo hash a password:  \n\n```javascript\nvar bcrypt = require(\'bcrypt\');\nvar salt = bcrypt.genSaltSync(10);\nvar hash = bcrypt.hashSync("B4c0/\\/", salt);\n// Store hash in your password DB.\n```\n\nTo check a password:  \n\n```javascript\n// Load hash from your password DB.\nbcrypt.compareSync("B4c0/\\/", hash); // true\nbcrypt.compareSync("not_bacon", hash); // false\n```\n\nAuto-gen a salt and hash:\n\n```javascript\nvar hash = bcrypt.hashSync(\'bacon\', 8);\n```\n\nUsage - Async\n============\n\nTo hash a password:  \n\n```javascript\nvar bcrypt = require(\'bcrypt\');\nbcrypt.genSalt(10, function(err, salt) {\n    bcrypt.hash("B4c0/\\/", salt, function(err, hash) {\n        // Store hash in your password DB.\n    });\n});\n```\n\nTo check a password:  \n\n```javascript\n// Load hash from your password DB.\nbcrypt.compare("B4c0/\\/", hash, function(err, res) {\n    // res == true\n});\nbcrypt.compare("not_bacon", hash, function(err, res) {\n    // res = false\n});\n```\n\nAuto-gen a salt and hash:\n\n```javascript\nbcrypt.hash(\'bacon\', 8, function(err, hash) {\n});\n```\n\nAPI\n============\n\n`BCrypt.`\n\n  * `genSaltSync(rounds, seed_length)`\n    * `rounds` - [OPTIONAL] - the number of rounds to process the data for. (default - 10)\n    * `seed_length` - [OPTIONAL] - RAND_bytes wants a length. to make that a bit flexible, you can specify a seed_length. (default - 20)\n  * `genSalt(rounds, seed_length, cb)`\n    * `rounds` - [OPTIONAL] - the number of rounds to process the data for. (default - 10)\n    * `seed_length` - [OPTIONAL] - RAND_bytes wants a length. to make that a bit flexible, you can specify a seed_length. (default - 20)\n    * `cb` - [REQUIRED] - a callback to be fired once the salt has been generated. uses eio making it asynchronous.\n      * `err` - First parameter to the callback detailing any errors.\n      * `salt` - Second parameter to the callback providing the generated salt.\n  * `hashSync(data, salt)`\n    * `data` - [REQUIRED] - the data to be encrypted.\n    * `salt` - [REQUIRED] - the salt to be used in encryption.\n  * `hash(data, salt, cb)`\n    * `data` - [REQUIRED] - the data to be encrypted.\n    * `salt` - [REQUIRED] - the salt to be used to hash the password. if specified as a number then a salt will be generated and used (see examples).\n    * `cb` - [REQUIRED] - a callback to be fired once the data has been encrypted. uses eio making it asynchronous.\n      * `err` - First parameter to the callback detailing any errors.\n      * `encrypted` - Second parameter to the callback providing the encrypted form.\n  * `compareSync(data, encrypted)`\n    * `data` - [REQUIRED] - data to compare.\n    * `encrypted` - [REQUIRED] - data to be compared to.\n  * `compare(data, encrypted, cb)`\n    * `data` - [REQUIRED] - data to compare.\n    * `encrypted` - [REQUIRED] - data to be compared to.\n    * `cb` - [REQUIRED] - a callback to be fired once the data has been compared. uses eio making it asynchronous.\n      * `err` - First parameter to the callback detailing any errors.\n      * `same` - Second parameter to the callback providing whether the data and encrypted forms match [true | false].\n  * `getRounds(encrypted)` - return the number of rounds used to encrypt a given hash\n    * `encrypted` - [REQUIRED] - hash from which the number of rounds used should be extracted.\n\n\nHash Info\n============\n\nThe characters that comprise the resultant hash are `./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789$`.\n\nTesting\n============\n\nIf you create a pull request, tests better pass :)\n\n    npm install\n    npm test\n\nCredits\n============\n\nThe code for this comes from a few sources:\n\n* blowfish.cc - OpenBSD\n* bcrypt.cc - OpenBSD\n* bcrypt::gen_salt - [gen_salt inclusion to bcrypt][bcryptgs]\n* bcrypt_node.cc - me\n\nContributors\n============\n\n* [Antonio Salazar Cardozo][shadowfiend] - Early MacOS X support (when we used libbsd)\n* [Ben Glow][pixelglow] - Fixes for thread safety with async calls\n* [Van Nguyen][thegoleffect] - Found a timing attack in the comparator\n* [NewITFarmer][newitfarmer] - Initial Cygwin support\n* [David Trejo][dtrejo] - packaging fixes\n* [Alfred Westerveld][alfredwesterveld] - packaging fixes\n* [Vincent Côté-Roy][vincentr] - Testing around concurrency issues\n* [Lloyd Hilaiel][lloyd] - Documentation fixes\n* [Roman Shtylman][shtylman] - Code refactoring, general rot reduction, compile options, better memory management with delete and new, and an upgrade to libuv over eio/ev.\n* [Vadim Graboys][vadimg] - Code changes to support 0.5.5+\n* [Ben Noordhuis][bnoordhuis] - Fixed a thread safety issue in nodejs that was perfectly mappable to this module.\n* [Nate Rajlich][tootallnate] - Bindings and build process.\n* [Sean McArthur][seanmonstar] - Windows Support\n* [Fanie Oosthuysen][weareu] - Windows Support\n\nLicense\n============\n\nUnless stated elsewhere, file headers or otherwise, the license as stated in the LICENSE file.\n\n\n\n[bcryptwiki]: http://en.wikipedia.org/wiki/Crypt_(Unix)#Blowfish-based_scheme  \n[bcryptgs]: http://mail-index.netbsd.org/tech-crypto/2002/05/24/msg000204.html\n[codahale]: http://codahale.com/how-to-safely-store-a-password/\n[gh13]: https://github.com/ncb000gt/node.bcrypt.js/issues/13\n[jtr]: http://www.openwall.com/lists/oss-security/2011/06/20/2\n\n[shadowfiend]:https://github.com/Shadowfiend\n[thegoleffect]:https://github.com/thegoleffect\n[pixelglow]:https://github.com/pixelglow\n[dtrejo]:https://github.com/dtrejo\n[alfredwesterveld]:https://github.com/alfredwesterveld\n[newitfarmer]:https://github.com/newitfarmer\n[zooko]:https://twitter.com/zooko\n[vincentr]:https://twitter.com/vincentcr\n[lloyd]:https://github.com/lloyd\n[shtylman]:https://github.com/shtylman\n[vadimg]:https://github.com/vadimg\n[bnoordhuis]:https://github.com/bnoordhuis\n[tootallnate]:https://github.com/tootallnate\n[seanmonstar]:https://github.com/seanmonstar\n[weareu]:https://github.com/weareu\n',
104 silly resolved     _id: 'bcrypt@0.7.3',
104 silly resolved     _from: 'bcrypt@~0.7.3' },
104 silly resolved   { name: 'qrcode',
104 silly resolved     description: 'QRCode / 2d Barcode api with both server side and client side support using canvas',
104 silly resolved     version: '0.2.4',
104 silly resolved     author: { name: 'Ryan Day', email: 'soldair@gmail.com' },
104 silly resolved     keywords: [ 'canvas', 'qrcode', 'barcode' ],
104 silly resolved     main: './qrcode.js',
104 silly resolved     homepage: 'http://github.com/soldair/node-qrcode',
104 silly resolved     scripts:
104 silly resolved      { pretest: 'node build.js',
104 silly resolved        prepublish: 'node build.js',
104 silly resolved        test: 'tap test/url.js' },
104 silly resolved     bin: { qrcode: './bin/qrcode' },
104 silly resolved     dependencies: { canvas: '>= 0.4.3', colors: '*' },
104 silly resolved     devDependencies:
104 silly resolved      { express: '2.5.x',
104 silly resolved        browserify: '1.9.x',
104 silly resolved        'uglify-js': '1.2.x',
104 silly resolved        canvasutil: '*',
104 silly resolved        tap: '*' },
104 silly resolved     repository: { type: 'git', url: 'git://github.com/soldair/node-qrcode.git' },
104 silly resolved     engines: { node: '>=0.2.3' },
104 silly resolved     readme: '[![Build Status](https://secure.travis-ci.org/soldair/node-qrcode.png)](http://travis-ci.org/soldair/node-qrcode)\n\n\nnode-qrcode\n===========\n\n\nThis is a server side QR code / 2d barcode generator.\nit is an extension of "QRCode for JavaScript" which Kazuhiko Arase thankfully mit licensed\n\nthe qrcode-draw.js can be used  directly as a client side lib if its appended too or included with lib/qrcode.js\nto use this on the server side please require(\'qrcode\'); =)\n\nexamples\n--------\nsimple test\n\n```js\n\n\tvar QRCode = require(\'qrcode\');\n\n\tQRCode.toDataURL(\'i am a pony!\',function(err,url){\n\t\tconsole.log(url);\n\t});\n\n```\nin your terminal if you install globally\n\n```sh\n\n\tqrcode "hi i want a qrcode"\n\n  qrcode "i like to save qrs to file" qr.png\n\n\n```\n\nin client side html. \n\n```html\n\n<!--[if ie]><script type="text/javascript" src="/vendors/excanvas/excanvas.js"></script><![endif]-->\n<script src="/build/qrcode.js"></script>\n<canvas id="test"></canvas>\n<script>\n\n  var qrcodedraw = new qrcodelib.qrcodedraw();\n\n  qrcodedraw.draw(document.getElementByID(\'test\'),"this text will be in the code!",function(error,canvas){\n    if(error) {\n      return console.log(\'Error =( \',error);\n    }\n    console.log(\'success!\');\n  });\n</script>\n\n```\n\nremeber to put excanvas and qrcode.js somewhere where your browser can find them\n\nserver side api\n---------------\n\n  QRCode.draw(text, [optional options], cb(error,canvas));\n    returns node canvas object see https://github.com/LearnBoost/node-canvas for all of the cool node things you can do\n    look up the canvas api for the other cool things\n\n  QRCode.toDataURL(text, [optional options], cb(error,dataURL));\n    returns mime image/png data url for the 2d barcode \n\n  QRCode.save(path, text, [optional options] , cb(error,written));\n    saves png to the path specified returns bytes written\n\n  QRCode.drawText(text, [optional options],cb)\n    returns an ascii representation of the qrcode using unicode characters and ansi control codes for background control.\n\n  QRCode.drawBitArray(text, [optional options], cb(error,bits,width));\n    returns an array with each value being either 0 light or 1 dark and the width of each row.\n    this is enough info to render a qrcode any way you want =)\n\noptions\n---------\n\n  errorCorrectLevel\n    can be one of the values in qrcode.errorCorrectLevel\n    can be a string. one of  "minumum","medium","high","max"\n    if undefined defaults to H which is max error correction\n    if invalid value defaults to minimum error correction\n\nclient side api\n---------------\n\nwindow.qrcodelib\n  - qrcodelib.qrcodedraw() Constructor\n\nqrcode = new qrcodelib.qrcodedraw()\n  - qrcode.draw(canvasElement,text,[optional options],cb);\n\n\nfor quick client side use:\n\n- run node test/clientsideserver.js\n- open localhost:3031 in your browser\n\nthe javascript is in test/clientside.html\n\nqr code capacity.\n-----------------\n\nthis libary can encode a string up to lengths:\n2953 in error correct level L\n2331 in error correct level M\n1663 in error correct level Q\n1273 in error correct level H\n\nthe default is H. \nIt can now be changed in an ugly way that wont be supported for more then another few days if you really need to.\nalso the default module size at qr version 40 is really too small for the camera on my Nexus 1 and to make it larger i run out of screen to show it. At 40 the barcode scanner even finds random UPC 1d barcodes in the mass of little squares.\nthe default module size cannot be changed through the public api at this time.\n\ninstall\n-------\n\n\tnpm install qrcode\n\n\tto use qrcode from the command line to save  qrcode images or generate ones you can view in your termial\n\n\tnpm install -g qrcode \n\n\n  node-canvas is a native module and requires dev packages of cairo and pixman to compile. \n  on ubuntu you can install them with apt-get and npm install will work great.\n\n  ```sh\n  \n  sudo apt-get install libpixman-1-dev libcairo2-dev\n  ```\n  \n  it is my higest priority for this module to use an all js png encoder and remove this dep.\n\n\ndependencies\n------------\nthese should be taken care of for you by npm but you should\n\n\tnpm install canvas\n\nif cairo gives you trouble and you cannot install canvas checkout the canvas site i know tj has setup a way to download and install a version of cairo/pixman for testing.\n\nThe word "QR Code" is registered trademark of \nDENSO WAVE INCORPORATED\n',
104 silly resolved     _id: 'qrcode@0.2.4',
104 silly resolved     _from: 'qrcode@~0.2.4' } ]
105 info install bcrypt@0.7.3 into c:\Users\detj\projects\hangtag
106 info install qrcode@0.2.4 into c:\Users\detj\projects\hangtag
107 info installOne bcrypt@0.7.3
108 info installOne qrcode@0.2.4
109 verbose from cache C:\Users\detj\AppData\Roaming\npm-cache\bcrypt\0.7.3\package\package.json
110 info c:\Users\detj\projects\hangtag\node_modules\bcrypt unbuild
111 verbose read json c:\Users\detj\projects\hangtag\node_modules\bcrypt\package.json
112 verbose from cache C:\Users\detj\AppData\Roaming\npm-cache\qrcode\0.2.4\package\package.json
113 info c:\Users\detj\projects\hangtag\node_modules\qrcode unbuild
114 verbose read json c:\Users\detj\projects\hangtag\node_modules\qrcode\package.json
115 verbose tar unpack C:\Users\detj\AppData\Roaming\npm-cache\bcrypt\0.7.3\package.tgz
116 silly lockFile 19d8ee39-ects-hangtag-node-modules-bcrypt c:\Users\detj\projects\hangtag\node_modules\bcrypt
117 verbose lock c:\Users\detj\projects\hangtag\node_modules\bcrypt C:\Users\detj\AppData\Roaming\npm-cache\19d8ee39-ects-hangtag-node-modules-bcrypt.lock
118 verbose tar unpack C:\Users\detj\AppData\Roaming\npm-cache\qrcode\0.2.4\package.tgz
119 silly lockFile 8dcfbfe0-ects-hangtag-node-modules-qrcode c:\Users\detj\projects\hangtag\node_modules\qrcode
120 verbose lock c:\Users\detj\projects\hangtag\node_modules\qrcode C:\Users\detj\AppData\Roaming\npm-cache\8dcfbfe0-ects-hangtag-node-modules-qrcode.lock
121 silly gunzTarPerm modes [ '755', '644' ]
122 silly gunzTarPerm modes [ '755', '644' ]
123 silly gunzTarPerm extractEntry package.json
124 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
125 silly gunzTarPerm extractEntry package.json
126 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
127 silly gunzTarPerm extractEntry .npmignore
128 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
129 silly gunzTarPerm extractEntry README.md
130 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
131 silly gunzTarPerm extractEntry LICENSE
132 silly gunzTarPerm modified mode [ 'LICENSE', 438, 420 ]
133 silly gunzTarPerm extractEntry bcrypt.js
134 silly gunzTarPerm modified mode [ 'bcrypt.js', 438, 420 ]
135 silly gunzTarPerm extractEntry .npmignore
136 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
137 silly gunzTarPerm extractEntry README.md
138 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
139 silly gunzTarPerm extractEntry CHANGELOG
140 silly gunzTarPerm modified mode [ 'CHANGELOG', 438, 420 ]
141 silly gunzTarPerm extractEntry examples/async_compare.js
142 silly gunzTarPerm modified mode [ 'examples/async_compare.js', 438, 420 ]
143 silly gunzTarPerm extractEntry build.js
144 silly gunzTarPerm modified mode [ 'build.js', 438, 420 ]
145 silly gunzTarPerm extractEntry a.js
146 silly gunzTarPerm modified mode [ 'a.js', 438, 420 ]
147 silly gunzTarPerm extractEntry examples/forever_gen_salt.js
148 silly gunzTarPerm modified mode [ 'examples/forever_gen_salt.js', 438, 420 ]
149 silly gunzTarPerm extractEntry .travis.yml
150 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
151 silly gunzTarPerm extractEntry b.js
152 silly gunzTarPerm modified mode [ 'b.js', 438, 420 ]
153 silly gunzTarPerm extractEntry qrcode.js
154 silly gunzTarPerm modified mode [ 'qrcode.js', 438, 420 ]
155 silly gunzTarPerm extractEntry Makefile
156 silly gunzTarPerm modified mode [ 'Makefile', 438, 420 ]
157 silly gunzTarPerm extractEntry qrcodeclient.js
158 silly gunzTarPerm modified mode [ 'qrcodeclient.js', 438, 420 ]
159 silly gunzTarPerm extractEntry binding.gyp
160 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
161 silly gunzTarPerm extractEntry lib/qrcapacitytable.js
162 silly gunzTarPerm modified mode [ 'lib/qrcapacitytable.js', 438, 420 ]
163 silly gunzTarPerm extractEntry src/bcrypt.cc
164 silly gunzTarPerm modified mode [ 'src/bcrypt.cc', 438, 420 ]
165 silly gunzTarPerm extractEntry lib/qrcode-draw.js
166 silly gunzTarPerm modified mode [ 'lib/qrcode-draw.js', 438, 420 ]
167 silly gunzTarPerm extractEntry src/bcrypt_node.cc
168 silly gunzTarPerm modified mode [ 'src/bcrypt_node.cc', 438, 420 ]
169 silly gunzTarPerm extractEntry lib/qrcode.js
170 silly gunzTarPerm modified mode [ 'lib/qrcode.js', 438, 420 ]
171 silly gunzTarPerm extractEntry src/blowfish.cc
172 silly gunzTarPerm modified mode [ 'src/blowfish.cc', 438, 420 ]
173 silly gunzTarPerm extractEntry lib/termialrender.js
174 silly gunzTarPerm modified mode [ 'lib/termialrender.js', 438, 420 ]
175 silly gunzTarPerm extractEntry src/node_blf.h
176 silly gunzTarPerm modified mode [ 'src/node_blf.h', 438, 420 ]
177 silly gunzTarPerm extractEntry .travis.yml
178 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
179 silly gunzTarPerm extractEntry test/async.js
180 silly gunzTarPerm modified mode [ 'test/async.js', 438, 420 ]
181 silly gunzTarPerm extractEntry bin/qrcode
182 silly gunzTarPerm modified mode [ 'bin/qrcode', 438, 420 ]
183 silly gunzTarPerm extractEntry test/deprecated.js
184 silly gunzTarPerm modified mode [ 'test/deprecated.js', 438, 420 ]
185 silly gunzTarPerm extractEntry test/repetitions.js
186 silly gunzTarPerm modified mode [ 'test/repetitions.js', 438, 420 ]
187 silly gunzTarPerm extractEntry test/sync.js
188 silly gunzTarPerm modified mode [ 'test/sync.js', 438, 420 ]
189 silly gunzTarPerm extractEntry wscript
190 silly gunzTarPerm modified mode [ 'wscript', 438, 420 ]
191 silly gunzTarPerm extractEntry build/qrcode.js
192 silly gunzTarPerm modified mode [ 'build/qrcode.js', 438, 420 ]
193 silly gunzTarPerm extractEntry build/qrcode.min.js
194 silly gunzTarPerm modified mode [ 'build/qrcode.min.js', 438, 420 ]
195 silly gunzTarPerm extractEntry build/.g
196 silly gunzTarPerm modified mode [ 'build/.g', 438, 420 ]
197 silly gunzTarPerm extractEntry .jshintignore
198 silly gunzTarPerm modified mode [ '.jshintignore', 438, 420 ]
199 silly gunzTarPerm extractEntry test/cli.js
200 silly gunzTarPerm modified mode [ 'test/cli.js', 438, 420 ]
201 silly gunzTarPerm extractEntry test/clientsideserver.js
202 silly gunzTarPerm modified mode [ 'test/clientsideserver.js', 438, 420 ]
203 silly gunzTarPerm extractEntry test/save.js
204 silly gunzTarPerm modified mode [ 'test/save.js', 438, 420 ]
205 silly gunzTarPerm extractEntry test/server.js
206 silly gunzTarPerm modified mode [ 'test/server.js', 438, 420 ]
207 silly gunzTarPerm extractEntry test/url.js
208 silly gunzTarPerm modified mode [ 'test/url.js', 438, 420 ]
209 silly gunzTarPerm extractEntry test/clientside.html
210 silly gunzTarPerm modified mode [ 'test/clientside.html', 438, 420 ]
211 silly gunzTarPerm extractEntry test/fixtures/bacon-bikini.png
212 silly gunzTarPerm modified mode [ 'test/fixtures/bacon-bikini.png', 438, 420 ]
213 silly gunzTarPerm extractEntry test/fixtures/bacon-love.png
214 silly gunzTarPerm modified mode [ 'test/fixtures/bacon-love.png', 438, 420 ]
215 silly gunzTarPerm extractEntry vendors/excanvas/README
216 silly gunzTarPerm modified mode [ 'vendors/excanvas/README', 438, 420 ]
217 silly gunzTarPerm extractEntry vendors/excanvas/excanvas.compiled.js
218 silly gunzTarPerm modified mode [ 'vendors/excanvas/excanvas.compiled.js', 438, 420 ]
219 silly gunzTarPerm extractEntry vendors/excanvas/excanvas.js
220 silly gunzTarPerm modified mode [ 'vendors/excanvas/excanvas.js', 438, 420 ]
221 verbose read json c:\Users\detj\projects\hangtag\node_modules\bcrypt\package.json
222 silly lockFile 19d8ee39-ects-hangtag-node-modules-bcrypt c:\Users\detj\projects\hangtag\node_modules\bcrypt
223 info preinstall bcrypt@0.7.3
224 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bcrypt\package.json
225 verbose readDependencies using package.json deps
226 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bcrypt\package.json
227 verbose readDependencies using package.json deps
228 verbose cache add [ 'bindings@1.0.0', null ]
229 silly cache add name=undefined spec="bindings@1.0.0" args=["bindings@1.0.0",null]
230 verbose parsed url { pathname: 'bindings@1.0.0',
230 verbose parsed url   path: 'bindings@1.0.0',
230 verbose parsed url   href: 'bindings@1.0.0' }
231 silly cache add name="bindings" spec="1.0.0" args=["bindings","1.0.0"]
232 verbose parsed url { pathname: '1.0.0', path: '1.0.0', href: '1.0.0' }
233 verbose addNamed [ 'bindings', '1.0.0' ]
234 verbose addNamed [ '1.0.0', '1.0.0' ]
235 silly lockFile f01e5454-bindings-1-0-0 bindings@1.0.0
236 verbose lock bindings@1.0.0 C:\Users\detj\AppData\Roaming\npm-cache\f01e5454-bindings-1-0-0.lock
237 verbose url raw bindings/1.0.0
238 verbose url resolving [ 'https://registry.npmjs.org/', './bindings/1.0.0' ]
239 verbose url resolved https://registry.npmjs.org/bindings/1.0.0
240 info trying registry request attempt 1 at 13:44:45
241 verbose etag "9OIIS4YU3XTPWRBT47K46CQMO"
242 http GET https://registry.npmjs.org/bindings/1.0.0
243 verbose read json c:\Users\detj\projects\hangtag\node_modules\qrcode\package.json
244 silly lockFile 8dcfbfe0-ects-hangtag-node-modules-qrcode c:\Users\detj\projects\hangtag\node_modules\qrcode
245 info preinstall qrcode@0.2.4
246 verbose from cache c:\Users\detj\projects\hangtag\node_modules\qrcode\package.json
247 verbose readDependencies using package.json deps
248 verbose from cache c:\Users\detj\projects\hangtag\node_modules\qrcode\package.json
249 verbose readDependencies using package.json deps
250 verbose cache add [ 'canvas@>= 0.4.3', null ]
251 silly cache add name=undefined spec="canvas@>= 0.4.3" args=["canvas@>= 0.4.3",null]
252 verbose parsed url { pathname: 'canvas@%3E=%200.4.3',
252 verbose parsed url   path: 'canvas@%3E=%200.4.3',
252 verbose parsed url   href: 'canvas@%3E=%200.4.3' }
253 silly cache add name="canvas" spec=">= 0.4.3" args=["canvas",">= 0.4.3"]
254 verbose parsed url { pathname: '%3E=%200.4.3',
254 verbose parsed url   path: '%3E=%200.4.3',
254 verbose parsed url   href: '%3E=%200.4.3' }
255 verbose addNamed [ 'canvas', '>= 0.4.3' ]
256 verbose addNamed [ null, '>=0.4.3' ]
257 silly lockFile 8baa1136-canvas-0-4-3 canvas@>= 0.4.3
258 verbose lock canvas@>= 0.4.3 C:\Users\detj\AppData\Roaming\npm-cache\8baa1136-canvas-0-4-3.lock
259 silly addNameRange { name: 'canvas', range: '>=0.4.3', hasData: false }
260 verbose url raw canvas
261 verbose url resolving [ 'https://registry.npmjs.org/', './canvas' ]
262 verbose url resolved https://registry.npmjs.org/canvas
263 info trying registry request attempt 1 at 13:44:45
264 verbose etag "88LB0OT2B2EXB1ZTGCNMPOBJY"
265 http GET https://registry.npmjs.org/canvas
266 http 304 https://registry.npmjs.org/canvas
267 silly registry.get cb [ 304,
267 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
267 silly registry.get     etag: '"88LB0OT2B2EXB1ZTGCNMPOBJY"',
267 silly registry.get     date: 'Fri, 09 Nov 2012 08:14:33 GMT',
267 silly registry.get     'content-length': '0' } ]
268 verbose etag canvas from cache
269 http 304 https://registry.npmjs.org/bindings/1.0.0
270 silly registry.get cb [ 304,
270 silly registry.get   { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
270 silly registry.get     etag: '"9OIIS4YU3XTPWRBT47K46CQMO"',
270 silly registry.get     date: 'Fri, 09 Nov 2012 08:14:33 GMT',
270 silly registry.get     'content-length': '0' } ]
271 verbose etag bindings/1.0.0 from cache
272 verbose read json C:\Users\detj\AppData\Roaming\npm-cache\bindings\1.0.0\package\package.json
273 silly addNameRange number 2 { name: 'canvas', range: '>=0.4.3', hasData: true }
274 silly addNameRange versions [ 'canvas',
274 silly addNameRange   [ '0.0.1',
274 silly addNameRange     '0.0.2',
274 silly addNameRange     '0.0.3',
274 silly addNameRange     '0.0.4',
274 silly addNameRange     '0.0.5',
274 silly addNameRange     '0.0.6',
274 silly addNameRange     '0.0.7',
274 silly addNameRange     '0.0.8',
274 silly addNameRange     '0.1.0',
274 silly addNameRange     '0.2.0',
274 silly addNameRange     '0.2.1',
274 silly addNameRange     '0.3.0',
274 silly addNameRange     '0.3.1',
274 silly addNameRange     '0.3.2',
274 silly addNameRange     '0.3.3',
274 silly addNameRange     '0.4.0',
274 silly addNameRange     '0.4.1',
274 silly addNameRange     '0.4.2',
274 silly addNameRange     '0.4.3',
274 silly addNameRange     '0.5.0',
274 silly addNameRange     '0.5.1',
274 silly addNameRange     '0.5.2',
274 silly addNameRange     '0.5.3',
274 silly addNameRange     '0.5.4',
274 silly addNameRange     '0.6.0',
274 silly addNameRange     '0.7.0',
274 silly addNameRange     '0.7.1',
274 silly addNameRange     '0.7.2',
274 silly addNameRange     '0.7.3',
274 silly addNameRange     '0.8.0',
274 silly addNameRange     '0.8.1',
274 silly addNameRange     '0.8.2',
274 silly addNameRange     '0.8.3',
274 silly addNameRange     '0.9.0',
274 silly addNameRange     '0.10.0',
274 silly addNameRange     '0.10.1',
274 silly addNameRange     '0.10.2',
274 silly addNameRange     '0.10.3',
274 silly addNameRange     '0.11.0',
274 silly addNameRange     '0.11.1',
274 silly addNameRange     '0.11.2',
274 silly addNameRange     '0.11.3',
274 silly addNameRange     '0.12.0',
274 silly addNameRange     '0.12.1',
274 silly addNameRange     '0.13.0',
274 silly addNameRange     '0.13.1' ] ]
275 verbose addNamed [ 'canvas', '0.13.1' ]
276 verbose addNamed [ '0.13.1', '0.13.1' ]
277 silly lockFile 28b25045-canvas-0-13-1 canvas@0.13.1
278 verbose lock canvas@0.13.1 C:\Users\detj\AppData\Roaming\npm-cache\28b25045-canvas-0-13-1.lock
279 silly lockFile f01e5454-bindings-1-0-0 bindings@1.0.0
280 verbose read json C:\Users\detj\AppData\Roaming\npm-cache\canvas\0.13.1\package\package.json
281 silly resolved [ { name: 'bindings',
281 silly resolved     description: 'Helper module for loading your native module\'s .node file',
281 silly resolved     keywords: [ 'native', 'addon', 'bindings', 'gyp', 'waf', 'c', 'c++' ],
281 silly resolved     version: '1.0.0',
281 silly resolved     author:
281 silly resolved      { name: 'Nathan Rajlich',
281 silly resolved        email: 'nathan@tootallnate.net',
281 silly resolved        url: 'http://tootallnate.net' },
281 silly resolved     repository:
281 silly resolved      { type: 'git',
281 silly resolved        url: 'git://github.com/TooTallNate/node-bindings.git' },
281 silly resolved     main: './bindings.js',
281 silly resolved     readme: 'node-bindings\n=============\n### Helper module for loading your native module\'s .node file\n\nThis is a helper module for authors of Node.js native addon modules.\nIt is basically the "swiss army knife" of `require()`ing your native module\'s\n`.node` file.\n\nThroughout the course of Node\'s native addon history, addons have ended up being\ncompiled in a variety of different places, depending on which build tool and which\nversion of node was used. To make matters worse, now the _gyp_ build tool can\nproduce either a _Release_ or _Debug_ build, each being built into different\nlocations.\n\nThis module checks _all_ the possible locations that a native addon would be built\nat, and returns the first one that loads successfully.\n\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install bindings\n```\n\nOr add it to the `"dependencies"` section of your _package.json_ file.\n\n\nExample\n-------\n\n`require()`ing the proper bindings file for the current node version, platform\nand architecture is as simple as:\n\n``` js\nvar bindings = require(\'bindings\')(\'binding.node\')\n\n// Use your bindings defined in your C files\nbindings.your_c_function()\n```\n\n\nNice Error Output\n-----------------\n\nWhen the `.node` file could not be loaded, `node-bindings` throws an Error with\na nice error message telling you exactly what was tried. You can also check the\n`err.tries` Array property.\n\n```\nError: Could not load the bindings file. Tried:\n → /Users/nrajlich/ref/build/binding.node\n → /Users/nrajlich/ref/build/Debug/binding.node\n → /Users/nrajlich/ref/build/Release/binding.node\n → /Users/nrajlich/ref/out/Debug/binding.node\n → /Users/nrajlich/ref/Debug/binding.node\n → /Users/nrajlich/ref/out/Release/binding.node\n → /Users/nrajlich/ref/Release/binding.node\n → /Users/nrajlich/ref/build/default/binding.node\n → /Users/nrajlich/ref/compiled/0.8.2/darwin/x64/binding.node\n    at bindings (/Users/nrajlich/ref/node_modules/bindings/bindings.js:84:13)\n    at Object.<anonymous> (/Users/nrajlich/ref/lib/ref.js:5:47)\n    at Module._compile (module.js:449:26)\n    at Object.Module._extensions..js (module.js:467:10)\n    at Module.load (module.js:356:32)\n    at Function.Module._load (module.js:312:12)\n    ...\n```\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2012 Nathan Rajlich &lt;nathan@tootallnate.net&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
281 silly resolved     _id: 'bindings@1.0.0',
281 silly resolved     _from: 'bindings@1.0.0' } ]
282 info install bindings@1.0.0 into c:\Users\detj\projects\hangtag\node_modules\bcrypt
283 info installOne bindings@1.0.0
284 verbose from cache C:\Users\detj\AppData\Roaming\npm-cache\bindings\1.0.0\package\package.json
285 info c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings unbuild
286 verbose read json c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings\package.json
287 verbose tar unpack C:\Users\detj\AppData\Roaming\npm-cache\bindings\1.0.0\package.tgz
288 silly lockFile 4a324207-les-bcrypt-node-modules-bindings c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings
289 verbose lock c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings C:\Users\detj\AppData\Roaming\npm-cache\4a324207-les-bcrypt-node-modules-bindings.lock
290 silly gunzTarPerm modes [ '755', '644' ]
291 silly lockFile 28b25045-canvas-0-13-1 canvas@0.13.1
292 silly lockFile 8baa1136-canvas-0-4-3 canvas@>= 0.4.3
293 silly resolved [ { name: 'canvas',
293 silly resolved     description: 'Canvas graphics API backed by Cairo',
293 silly resolved     version: '0.13.1',
293 silly resolved     author: { name: 'TJ Holowaychuk', email: 'tj@learnboost.com' },
293 silly resolved     keywords:
293 silly resolved      [ 'canvas',
293 silly resolved        'graphic',
293 silly resolved        'graphics',
293 silly resolved        'pixman',
293 silly resolved        'cairo',
293 silly resolved        'image',
293 silly resolved        'images',
293 silly resolved        'pdf' ],
293 silly resolved     homepage: 'https://github.com/learnboost/node-canvas',
293 silly resolved     repository: { type: 'git', url: 'git://github.com/learnboost/node-canvas' },
293 silly resolved     scripts: { test: 'make test', install: 'node-gyp rebuild' },
293 silly resolved     devDependencies:
293 silly resolved      { express: '>= 2.3.7 && < 3.0.0',
293 silly resolved        jade: '0.11.0',
293 silly resolved        mocha: '*',
293 silly resolved        should: '*' },
293 silly resolved     engines: { node: '>= 0.4.0' },
293 silly resolved     main: './lib/canvas.js',
293 silly resolved     gypfile: true,
293 silly resolved     readme: '# node-canvas\n\n Node canvas is a [Cairo](http://cairographics.org/) backed Canvas implementation for [NodeJS](http://nodejs.org).\n\n## Authors\n\n  - TJ Holowaychuk ([visionmedia](http://github.com/visionmedia))\n\n## Installation\n\n    $ npm install canvas\n\nUnless previously installed you\'ll _need_ __Cairo__. For system-specific installation view the [Wiki](https://github.com/LearnBoost/node-canvas/wiki/_pages).\n\n## Screencasts\n\n  - [Introduction](http://screenr.com/CTk)\n\n## Example\n\n```javascript\nvar Canvas = require(\'canvas\')\n  , canvas = new Canvas(200,200)\n  , ctx = canvas.getContext(\'2d\');\n\nctx.font = \'30px Impact\';\nctx.rotate(.1);\nctx.fillText("Awesome!", 50, 100);\n\nvar te = ctx.measureText(\'Awesome!\');\nctx.strokeStyle = \'rgba(0,0,0,0.5)\';\nctx.beginPath();\nctx.lineTo(50, 102);\nctx.lineTo(50 + te.width, 102);\nctx.stroke();\n\nconsole.log(\'<img src="\' + canvas.toDataURL() + \'" />\');\n```\n\n## Non-Standard API\n\n node-canvas extends the canvas API to provide interfacing with node, for example streaming PNG data, converting to a `Buffer` instance, etc. Among the interfacing API, in some cases the drawing API has been extended for SSJS image manipulation / creation usage, however keep in mind these additions may fail to render properly within browsers.\n\n### Image#src=Buffer\n\n node-canvas adds `Image#src=Buffer` support, allowing you to read images from disc, redis, etc and apply them via `ctx.drawImage()`. Below we draw scaled down squid png by reading it from the disk with node\'s I/O.\n\n```javascript\nfs.readFile(__dirname + \'/images/squid.png\', function(err, squid){\n  if (err) throw err;\n  img = new Image;\n  img.src = squid;\n  ctx.drawImage(img, 0, 0, img.width / 4, img.height / 4);\n});\n```\n\n Below is an example of a canvas drawing it-self as the source several time:\n\n```javascript\nvar img = new Image;\nimg.src = canvas.toBuffer();\nctx.drawImage(img, 0, 0, 50, 50);\nctx.drawImage(img, 50, 0, 50, 50);\nctx.drawImage(img, 100, 0, 50, 50);\n```\n\n### Image#dataMode\n\nnode-canvas adds `Image#dataMode` support, which can be used to opt-in to mime data tracking of images (currently only JPEGs).\n\nWhen mime data is tracked, in PDF mode JPEGs can be embedded directly into the output, rather than being re-encoded into PNG. This can drastically reduce filesize, and speed up rendering.\n\n```javascript\nvar img = new Image;\nimg.dataMode = Image.MODE_IMAGE; // Only image data tracked\nimg.dataMode = Image.MODE_MIME; // Only mime data tracked\nimg.dataMode = Image.MODE_MIME | Image.MODE_IMAGE; // Both are tracked\n```\n\nIf image data is not tracked, and the Image is drawn to an image rather than a PDF canvas, the output will be junk. Enabling mime data tracking has no benefits (only a slow down) unless you are generating a PDF.\n\n### Canvas#createPNGStream()\n\n  To create a `PNGStream` simply call `canvas.createPNGStream()`, and the stream will start to emit _data_ events, finally emitting _end_ when finished. If an exception occurs the _error_ event is emitted.\n\n```javascript\nvar fs = require(\'fs\')\n  , out = fs.createWriteStream(__dirname + \'/text.png\')\n  , stream = canvas.createPNGStream();\n\nstream.on(\'data\', function(chunk){\n  out.write(chunk);\n});\n\nstream.on(\'end\', function(){\n  console.log(\'saved png\');\n});\n```\n\nCurrently _only_ sync streaming is supported, however we plan on supporting async streaming as well (of course :) ). Until then the `Canvas#toBuffer(callback)` alternative is async utilizing `eio_custom()`.\n\n### Canvas#createJPEGStream()\n\nYou can likewise create a `JPEGStream` by calling `canvas.createJPEGStream()` with some optional parameters; functionality is otherwise identical to `createPNGStream()`. See `examples/crop.js` for an example.\n\n### Canvas#toBuffer()\n\nA call to `Canvas#toBuffer()` will return a node `Buffer` instance containing all of the PNG data.\n\n```javascript\ncanvas.toBuffer();\n```\n\n### Canvas#toBuffer() async\n\nOptionally we may pass a callback function to `Canvas#toBuffer()`, and this process will be performed asynchronously, and will `callback(err, buf)`.\n\n```javascript\ncanvas.toBuffer(function(err, buf){\n\n});\n```\n\n### Canvas#toDataURL() async\n\nOptionally we may pass a callback function to `Canvas#toDataURL()`, and this process will be performed asynchronously, and will `callback(err, str)`.\n\n```javascript\ncanvas.toDataURL(function(err, str){\n\n});\n```\n\nor specify the mime type:\n\n```javascript\ncanvas.toDataURL(\'image/png\', function(err, str){\n\n});\n```\n\n### CanvasRenderingContext2d#patternQuality\n\nGiven one of the values below will alter pattern (gradients, images, etc) render quality, defaults to _good_.\n\n  - fast\n  - good\n  - best\n\n### CanvasRenderingContext2d#textDrawingMode\n\nCan be either `path` or `glyph`. Using `glyph` is much faster than `path` for drawing, and when using a PDF context will embed the text natively, so will be selectable and lower filesize. The downside is that cairo does not have any subpixel precision for `glyph`, so this will be noticeably lower quality for text positioning in cases such as rotated text. Also, strokeText in `glyph` will act the same as fillText, except using the stroke style for the fill.\n\nDefaults to _path_.\n\nThis property is tracked as part of the canvas state in save/restore.\n\n### Global Composite Operations\n\nIn addition to those specified and commonly implemented by browsers, the following have been added:\n\n  - multiply\n  - screen\n  - overlay\n  - hard-light\n  - soft-light\n  - hsl-hue\n  - hsl-saturation\n  - hsl-color\n  - hsl-luminosity\n\n## Anti-Aliasing\n\n Set anti-aliasing mode\n\n - default\n - none\n - gray\n - subpixel\n\n For example:\n\n```javascript\nctx.antialias = \'none\';\n```\n\n## PDF Support\n\n  Basic PDF support was added in 0.11.0. Make sure to install cairo with `--enable-pdf=yes` for the PDF backend. node-canvas must know that it is creating\n  a PDF on initialization, using the "pdf" string:\n\n```js\nvar canvas = new Canvas(200, 500, \'pdf\');\n```\n\n An additional method `.addPage()` is then available to create \n multiple page PDFs:\n\n```js\nctx.font = \'22px Helvetica\';\nctx.fillText(\'Hello World\', 50, 80);\nctx.addPage();\n\nctx.font = \'22px Helvetica\';\nctx.fillText(\'Hello World 2\', 50, 80);\nctx.addPage();\n\nctx.font = \'22px Helvetica\';\nctx.fillText(\'Hello World 3\', 50, 80);\nctx.addPage();\n```\n\n## Benchmarks\n\n Although node-canvas is extremely new, and we have not even begun optimization yet it is already quite fast. For benchmarks vs other node canvas implementations view this [gist](https://gist.github.com/664922), or update the submodules and run `$ make benchmark` yourself.\n\n## Contribute\n\n Want to contribute to node-canvas? patches for features, bug fixes, documentation, examples and others are certainly welcome. Take a look at the [issue queue](https://github.com/LearnBoost/node-canvas/issues) for existing issues.\n\n## Examples\n\n Examples are placed in _./examples_, be sure to check them out! most produce a png image of the same name, and others such as _live-clock.js_ launch an http server to be viewed in the browser.\n\n## Testing\n\nIf you have not previously, init git submodules:\n\n    $ git submodule update --init\n\nBuild node-canvas:\n\n    $ node-waf configure build\n\nUnit tests:\n\n    $ make test\n\nVisual tests:\n\n    $ make test-server\n\n## Versions\n\nTested with and designed for:\n\n  - node 0.4.2\n  - cairo 1.8.6\n\nFor node 0.2.x `node-canvas` <= 0.4.3 may be used,\n0.5.0 and above are designed for node 0.4.x only.\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;dev@learnboost.ca&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
293 silly resolved     _id: 'canvas@0.13.1',
293 silly resolved     _from: 'canvas@>= 0.4.3' } ]
294 info install canvas@0.13.1 into c:\Users\detj\projects\hangtag\node_modules\qrcode
295 info installOne canvas@0.13.1
296 verbose from cache C:\Users\detj\AppData\Roaming\npm-cache\canvas\0.13.1\package\package.json
297 info c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas unbuild
298 verbose read json c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas\package.json
299 silly gunzTarPerm extractEntry package.json
300 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
301 verbose tar unpack C:\Users\detj\AppData\Roaming\npm-cache\canvas\0.13.1\package.tgz
302 silly lockFile 001b0aac-dules-qrcode-node-modules-canvas c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas
303 verbose lock c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas C:\Users\detj\AppData\Roaming\npm-cache\001b0aac-dules-qrcode-node-modules-canvas.lock
304 silly gunzTarPerm extractEntry README.md
305 silly gunzTarPerm modified mode [ 'README.md', 438, 420 ]
306 silly gunzTarPerm extractEntry bindings.js
307 silly gunzTarPerm modified mode [ 'bindings.js', 438, 420 ]
308 silly gunzTarPerm modes [ '755', '644' ]
309 silly gunzTarPerm extractEntry package.json
310 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
311 silly gunzTarPerm extractEntry .npmignore
312 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
313 silly gunzTarPerm extractEntry index.js
314 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
315 silly gunzTarPerm extractEntry lib/bindings.js
316 silly gunzTarPerm modified mode [ 'lib/bindings.js', 438, 420 ]
317 silly gunzTarPerm extractEntry lib/canvas.js
318 silly gunzTarPerm modified mode [ 'lib/canvas.js', 438, 420 ]
319 silly gunzTarPerm extractEntry lib/context2d.js
320 silly gunzTarPerm modified mode [ 'lib/context2d.js', 438, 420 ]
321 silly gunzTarPerm extractEntry lib/image.js
322 silly gunzTarPerm modified mode [ 'lib/image.js', 438, 420 ]
323 verbose read json c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings\package.json
324 silly gunzTarPerm extractEntry lib/jpegstream.js
325 silly gunzTarPerm modified mode [ 'lib/jpegstream.js', 438, 420 ]
326 silly gunzTarPerm extractEntry lib/pixelarray.js
327 silly gunzTarPerm modified mode [ 'lib/pixelarray.js', 438, 420 ]
328 silly lockFile 4a324207-les-bcrypt-node-modules-bindings c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings
329 silly gunzTarPerm extractEntry lib/pngstream.js
330 silly gunzTarPerm modified mode [ 'lib/pngstream.js', 438, 420 ]
331 silly gunzTarPerm extractEntry History.md
332 silly gunzTarPerm modified mode [ 'History.md', 438, 420 ]
333 silly gunzTarPerm extractEntry .gitmodules
334 silly gunzTarPerm modified mode [ '.gitmodules', 438, 420 ]
335 silly gunzTarPerm extractEntry install
336 silly gunzTarPerm modified mode [ 'install', 438, 420 ]
337 info preinstall bindings@1.0.0
338 silly gunzTarPerm extractEntry .travis.yml
339 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
340 silly gunzTarPerm extractEntry Makefile
341 silly gunzTarPerm modified mode [ 'Makefile', 438, 420 ]
342 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings\package.json
343 silly gunzTarPerm extractEntry out.pdf
344 silly gunzTarPerm modified mode [ 'out.pdf', 438, 420 ]
345 verbose readDependencies using package.json deps
346 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings\package.json
347 verbose readDependencies using package.json deps
348 silly resolved []
349 verbose about to build c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings
350 info build c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings
351 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bcrypt\node_modules\bindings\package.json
352 verbose linkStuff [ false,
352 verbose linkStuff   false,
352 verbose linkStuff   false,
352 verbose linkStuff   'c:\\Users\\detj\\projects\\hangtag\\node_modules\\bcrypt\\node_modules' ]
353 info linkStuff bindings@1.0.0
354 verbose linkBins bindings@1.0.0
355 verbose linkMans bindings@1.0.0
356 verbose rebuildBundles bindings@1.0.0
357 info install bindings@1.0.0
358 info postinstall bindings@1.0.0
359 verbose about to build c:\Users\detj\projects\hangtag\node_modules\bcrypt
360 info build c:\Users\detj\projects\hangtag\node_modules\bcrypt
361 verbose from cache c:\Users\detj\projects\hangtag\node_modules\bcrypt\package.json
362 verbose linkStuff [ false,
362 verbose linkStuff   false,
362 verbose linkStuff   false,
362 verbose linkStuff   'c:\\Users\\detj\\projects\\hangtag\\node_modules' ]
363 info linkStuff bcrypt@0.7.3
364 verbose linkBins bcrypt@0.7.3
365 verbose linkMans bcrypt@0.7.3
366 verbose rebuildBundles bcrypt@0.7.3
367 verbose rebuildBundles [ 'bindings' ]
368 info install bcrypt@0.7.3
369 verbose unsafe-perm in lifecycle true
370 silly exec cmd "/c" "node-gyp rebuild"
371 silly cmd,/c,node-gyp rebuild,c:\Users\detj\projects\hangtag\node_modules\bcrypt spawning
372 silly gunzTarPerm extractEntry out.png
373 silly gunzTarPerm modified mode [ 'out.png', 438, 420 ]
374 silly gunzTarPerm extractEntry binding.gyp
375 silly gunzTarPerm modified mode [ 'binding.gyp', 438, 420 ]
376 silly gunzTarPerm extractEntry Readme.md
377 silly gunzTarPerm modified mode [ 'Readme.md', 438, 420 ]
378 silly gunzTarPerm extractEntry src/color.h
379 silly gunzTarPerm modified mode [ 'src/color.h', 438, 420 ]
380 silly gunzTarPerm extractEntry src/Canvas.cc
381 silly gunzTarPerm modified mode [ 'src/Canvas.cc', 438, 420 ]
382 silly gunzTarPerm extractEntry src/CanvasGradient.cc
383 silly gunzTarPerm modified mode [ 'src/CanvasGradient.cc', 438, 420 ]
384 silly gunzTarPerm extractEntry src/CanvasGradient.h
385 silly gunzTarPerm modified mode [ 'src/CanvasGradient.h', 438, 420 ]
386 silly gunzTarPerm extractEntry src/CanvasPattern.cc
387 silly gunzTarPerm modified mode [ 'src/CanvasPattern.cc', 438, 420 ]
388 silly gunzTarPerm extractEntry src/CanvasPattern.h
389 silly gunzTarPerm modified mode [ 'src/CanvasPattern.h', 438, 420 ]
390 silly gunzTarPerm extractEntry src/CanvasRenderingContext2d.cc
391 silly gunzTarPerm modified mode [ 'src/CanvasRenderingContext2d.cc', 438, 420 ]
392 silly gunzTarPerm extractEntry src/CanvasRenderingContext2d.h
393 silly gunzTarPerm modified mode [ 'src/CanvasRenderingContext2d.h', 438, 420 ]
394 silly gunzTarPerm extractEntry src/closure.h
395 silly gunzTarPerm modified mode [ 'src/closure.h', 438, 420 ]
396 silly gunzTarPerm extractEntry src/color.cc
397 silly gunzTarPerm modified mode [ 'src/color.cc', 438, 420 ]
398 silly gunzTarPerm extractEntry src/Canvas.h
399 silly gunzTarPerm modified mode [ 'src/Canvas.h', 438, 420 ]
400 silly gunzTarPerm extractEntry src/Image.cc
401 silly gunzTarPerm modified mode [ 'src/Image.cc', 438, 420 ]
402 silly gunzTarPerm extractEntry src/Image.h
403 silly gunzTarPerm modified mode [ 'src/Image.h', 438, 420 ]
404 silly gunzTarPerm extractEntry src/ImageData.cc
405 silly gunzTarPerm modified mode [ 'src/ImageData.cc', 438, 420 ]
406 silly gunzTarPerm extractEntry src/ImageData.h
407 silly gunzTarPerm modified mode [ 'src/ImageData.h', 438, 420 ]
408 silly gunzTarPerm extractEntry src/init.cc
409 silly gunzTarPerm modified mode [ 'src/init.cc', 438, 420 ]
410 silly gunzTarPerm extractEntry src/JPEGStream.h
411 silly gunzTarPerm modified mode [ 'src/JPEGStream.h', 438, 420 ]
412 silly gunzTarPerm extractEntry src/PixelArray.cc
413 silly gunzTarPerm modified mode [ 'src/PixelArray.cc', 438, 420 ]
414 silly gunzTarPerm extractEntry src/PixelArray.h
415 silly gunzTarPerm modified mode [ 'src/PixelArray.h', 438, 420 ]
416 silly gunzTarPerm extractEntry src/Point.h
417 silly gunzTarPerm modified mode [ 'src/Point.h', 438, 420 ]
418 silly gunzTarPerm extractEntry util/has_lib.sh
419 silly gunzTarPerm modified mode [ 'util/has_lib.sh', 438, 420 ]
420 verbose read json c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas\package.json
421 silly lockFile 001b0aac-dules-qrcode-node-modules-canvas c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas
422 info preinstall canvas@0.13.1
423 verbose from cache c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas\package.json
424 verbose readDependencies using package.json deps
425 verbose from cache c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas\package.json
426 verbose readDependencies using package.json deps
427 silly resolved []
428 verbose about to build c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas
429 info build c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas
430 verbose from cache c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas\package.json
431 verbose linkStuff [ false,
431 verbose linkStuff   false,
431 verbose linkStuff   false,
431 verbose linkStuff   'c:\\Users\\detj\\projects\\hangtag\\node_modules\\qrcode\\node_modules' ]
432 info linkStuff canvas@0.13.1
433 verbose linkBins canvas@0.13.1
434 verbose linkMans canvas@0.13.1
435 verbose rebuildBundles canvas@0.13.1
436 info install canvas@0.13.1
437 verbose unsafe-perm in lifecycle true
438 silly exec cmd "/c" "node-gyp rebuild"
439 silly cmd,/c,node-gyp rebuild,c:\Users\detj\projects\hangtag\node_modules\qrcode\node_modules\canvas spawning
440 info bcrypt@0.7.3 Failed to exec install script
441 info c:\Users\detj\projects\hangtag\node_modules\

@kyleblakewilson
Copy link

kyleblakewilson commented Nov 9, 2012

Getting a weird error I absolutely can't figure out. Any help would be appreciated. Forced to use a windows machine where I'm at, which is the true unfortunate problem.

gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild' ]
gyp info using node-gyp@0.6.8
gyp info using node@0.8.9 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded for `%s` python C:\PYTHON27\python.EXE
gyp verb check python version `python -c "import platform; print platform.python_version();"` returned: "2.7.3\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.8.9
gyp verb command install [ 'v0.8.9' ]
gyp verb install input version string "v0.8.9"
gyp verb installing legacy version? false
gyp verb install installing version: 0.8.9
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.8.9
gyp verb build dir attempting to create "build" dir: C:\users\kwilson\desktop\subway\node_modules\bcrypt\build
gyp verb build dir "build" dir needed to be created? C:\users\kwilson\desktop\subway\node_modules\bcrypt\build
gyp verb config.gypi creating config file
gyp verb config.gypi writing out config file: C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\config.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn python
gyp info spawn args [ 'C:\\Users\\kwilson\\.node-gyp\\0.8.9\\tools\\gyp\\gyp',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=2010',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\users\\kwilson\\desktop\\subway\\node_modules\\bcrypt\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\kwilson\\.node-gyp\\0.8.9\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\kwilson\\.node-gyp\\0.8.9',
gyp info spawn args   '-Dmodule_root_dir=C:\\users\\kwilson\\desktop\\subway\\node_modules\\bcrypt',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'C:\\users\\kwilson\\desktop\\subway\\node_modules\\bcrypt\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\kwilson\.node-gyp\0.8.9
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe". guessing location
gyp verb "Release" dir needed to be created? null
gyp verb copying "node.lib" for x64 C:\Users\kwilson\.node-gyp\0.8.9\Release\node.lib
gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/property:TargetExt=.node',
gyp info spawn args   '/p:Configuration=Release;Platform=x64' ]
Build started 11/9/2012 3:33:45 PM.
Project "C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|x64".
Project "C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\binding.sln" (1) is building "C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj" (2) on node 1 (default targets)
.
PrepareForBuild:
  Creating directory "Release\obj\bcrypt_lib\".
InitializeBuildStatus:
  Creating "Release\obj\bcrypt_lib\bcrypt_lib.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\CL.exe /c /I"C:\Users\kwilson\.node-gyp\0.8.9\src" /I"C:\Users\kwilson\.node-gyp\0.8.9\deps\uv\include" /I"C:\Users\kwilson\.node-gyp\0
  .8.9\deps\v8\include" /I"C:\OpenSSL-Win64\include" /Zi /nologo /W3 /WX- /Ox /Ob2 /Oi /Ot /Oy /GL /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SH
  ARED=1 /D "uint=unsigned int" /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /GR- /Fo"Release\obj\bcrypt_lib\\" /Fd"Release\obj\bcrypt_lib\vcWindows7.1SDK.pdb" /Gd /TP /wd4251 /error
  Report:queue ..\src\blowfish.cc ..\src\bcrypt.cc ..\src\bcrypt_node.cc /MP
  blowfish.cc
  bcrypt.cc
  bcrypt_node.cc
..\src\bcrypt.cc(232): warning C4267: '=' : conversion from 'size_t' to 'unsigned char', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\users\kwilson\desktop\subway\n
ode_modules\bcrypt\build\bcrypt_lib.vcxproj]
..\src\bcrypt_node.cc(211): warning C4244: 'argument' : conversion from 'ssize_t' to 'unsigned char', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
..\src\bcrypt_node.cc(278): warning C4244: 'argument' : conversion from 'const ssize_t' to 'unsigned char', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxpro
j]
..\src\bcrypt_node.cc(361): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
..\src\bcrypt_node.cc(362): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
Link:
  c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\Release\bcrypt_lib.node" /INCREMENTAL:NO /N
  OLOGO "C:\Users\kwilson\.node-gyp\0.8.9\Release\node.lib" "C:\OpenSSL-Win64\lib\libeay32.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uu
  id.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Release\obj\bcrypt_lib\bcrypt_lib.node.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\users\kwilson\deskto
  p\subway\node_modules\bcrypt\build\Release\bcrypt_lib.pdb" /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /DLL Release\obj\bcrypt_lib\blowfish.obj
  Release\obj\bcrypt_lib\bcrypt.obj
  Release\obj\bcrypt_lib\bcrypt_node.obj
C:\Users\kwilson\.node-gyp\0.8.9\Release\node.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x15BA4 [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
Done Building Project "C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\binding.sln" (default targets) -- FAILED.


Build FAILED.

"C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\binding.sln" (default target) (1) ->
"C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj" (default target) (2) ->
(ClCompile target) ->
  ..\src\bcrypt.cc(232): warning C4267: '=' : conversion from 'size_t' to 'unsigned char', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
  c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\users\kwilson\desktop\subway
\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
  ..\src\bcrypt_node.cc(211): warning C4244: 'argument' : conversion from 'ssize_t' to 'unsigned char', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
  ..\src\bcrypt_node.cc(278): warning C4244: 'argument' : conversion from 'const ssize_t' to 'unsigned char', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxp
roj]
  ..\src\bcrypt_node.cc(361): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
  ..\src\bcrypt_node.cc(362): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]


"C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\binding.sln" (default target) (1) ->
"C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj" (default target) (2) ->
(Link target) ->
  C:\Users\kwilson\.node-gyp\0.8.9\Release\node.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x15BA4 [C:\users\kwilson\desktop\subway\node_modules\bcrypt\build\bcrypt_lib.vcxproj]

    6 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.93
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:219:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\users\kwilson\desktop\subway\node_modules\bcrypt
gyp ERR! node -v v0.8.9
gyp ERR! node-gyp -v v0.6.8
gyp ERR! not ok
npm info bcrypt@0.7.3 Failed to exec install script
npm info C:\users\kwilson\desktop\subway\node_modules\bcrypt unbuild
npm verb from cache C:\users\kwilson\desktop\subway\node_modules\bcrypt\package.json
npm info preuninstall bcrypt@0.7.3
npm info uninstall bcrypt@0.7.3
npm verb true,C:\users\kwilson\desktop\subway\node_modules,C:\users\kwilson\desktop\subway\node_modules unbuild bcrypt@0.7.3
npm info postuninstall bcrypt@0.7.3
npm ERR! bcrypt@0.7.3 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.3 install script.
npm ERR! This is most likely a problem with the bcrypt 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 bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bcrypt" "--verbose"
npm ERR! cwd C:\users\kwilson\desktop\subway
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! code ELIFECYCLE
npm verb exit [ 1, true ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\users\kwilson\desktop\subway\npm-debug.log
npm ERR! not ok code 0

@Fauntleroy
Copy link

Fauntleroy commented Nov 10, 2012

I'm having issues compiling node-canvas and bcrypt on my machine. The error always refers to a problem with the solution file. Here's my log from bcrypt:

C:\Users\Timothy\Repos\tandem.io-drawing>npm install
npm http GET https://registry.npmjs.org/bcrypt
npm http 304 https://registry.npmjs.org/bcrypt
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 304 https://registry.npmjs.org/bindings/1.0.0

> bcrypt@0.7.3 install C:\Users\Timothy\Repos\tandem.io-drawing\node_modules\bcrypt
> node-gyp rebuild


C:\Users\Timothy\Repos\tandem.io-drawing\node_modules\bcrypt>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp
-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp http GET http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz
gyp http 200 http://nodejs.org/dist/v0.8.14/node-v0.8.14.tar.gz
gyp http GET http://nodejs.org/dist/v0.8.14/x64/node.lib
gyp http GET http://nodejs.org/dist/v0.8.14/node.lib
gyp http 200 http://nodejs.org/dist/v0.8.14/x64/node.lib
gyp http 200 http://nodejs.org/dist/v0.8.14/node.lib
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: The Platf
orm for project 'bcrypt_lib.vcxproj' is invalid.  Platform='x64'. You may be seeing this message because you are trying
 to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this proj
ect. [C:\Users\Timothy\Repos\tandem.io-drawing\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:2
36:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuil
d"
gyp ERR! cwd C:\Users\Timothy\Repos\tandem.io-drawing\node_modules\bcrypt
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! bcrypt@0.7.3 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.3 install script.
npm ERR! This is most likely a problem with the bcrypt 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 bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
 "install"
npm ERR! cwd C:\Users\Timothy\Repos\tandem.io-drawing
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\Timothy\Repos\tandem.io-drawing\npm-debug.log
npm ERR! not ok code 0

@TooTallNate
Copy link
Contributor

@Fauntleroy Please make sure you have all the necessary build tools installed. From the error message I'd guess that you don't have the Windows 7 64-bit SDK installed.

@c0dedish
Copy link

I tried seeing if using Win XP would make a difference but it still has not worked.

I'm getting similar issue as Win 7 x64

189 info postuninstall bcrypt@0.7.3
190 error bcrypt@0.7.3 install: node-gyp rebuild
190 error cmd "/c" "node-gyp rebuild" failed with 1
191 error Failed at the bcrypt@0.7.3 install script.
191 error This is most likely a problem with the bcrypt package,
191 error not with npm itself.
191 error Tell the author that this fails on your system:
191 error node-gyp rebuild
191 error You can get their info via:
191 error npm owner ls bcrypt
191 error There is likely additional logging output above.
192 error System Windows_NT 5.1.2600
193 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-d"
194 error cwd C:\Documents and Settings\Administrator\My Documents\GitHub\node-login
195 error node -v v0.8.14
196 error npm -v 1.1.65
197 error code ELIFECYCLE
198 verbose exit [ 1, true ]

@quanghoc
Copy link

I have same issue. Any update?

@Fauntleroy
Copy link

I had a tiny spot of luck after going through and messing with the installs of every possible Microsoft compilation tool available. In the end I think I had to remove some redistributable packages which conflicted with Microsoft Visual C++ 2010 Express.

@skopp
Copy link

skopp commented Dec 20, 2012

Same here... referring to @Fauntleroy #154 (comment)

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:..ing\npm\node_modules\html-m d\node_modules\jsdom\node_modules\contextify\build\binding.sln] gyp ERR! build error gyp ERR! stack Error:C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:..\nodejs\node_modules\ npm\node_modules\node-gyp\lib\build.js:232:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17) gyp ERR! stack at Process._handle.onexit (child_process.js:678:10) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "path-to\nodejs\\node_modules\\npm\\node_modu les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\....\npm\node_modules\html-md\node_modules \jsdom\node_modules\contextify gyp ERR! node -v v0.8.16 gyp ERR! node-gyp -v v0.7.3 gyp ERR! not ok npm WARN optional dep failed, continuing contextify@0.1.3
So now I have to mess around with .NET? Why, if I have 4.0, and what's Node.js got to do with .NET?

@skopp
Copy link

skopp commented Dec 20, 2012

For some reason I can't comment anything with markdown here. How ironic.
I get similar error as @Fauntleroy
http://d.pr/i/CYs8

@Pomax
Copy link

Pomax commented Jan 10, 2013

I had the same problem, and the solution appears to be "uninstall all those visual studio and SDK things, including the redistributables that may have been installed by other things" (particularly games are great at installing all manner of different VC++ 2010 redistributable copies. Uninstall all of them), so start with windows in a state that has no Microsoft Visual C++ 2010 redistributable x64 copies installed at all, then install the three build tools for node-gyp in order.

If you are trying to install the SDK compiler update after installing the SDK 7.1, and it claims you don't have SDK 7.1 installed, this is likely the same problem; remove all components, as well as any 2010 redistributables in your programs and features list, then reinstall VS2010 express, SDK 7.1 and the SDK compiler update, and it should all work.

@Pomax
Copy link

Pomax commented Jan 10, 2013

As additional information, in order to do things like npm install sqlite3, you may also need to install the visual studio 2010 SP1, which can be found here: http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5 (This might be worth adding to the README.md)

@l7777777b
Copy link

i have both visual studio 2012 and 2008 pro installed, im on windows 8. but still got this message
c:\Program Files\nodejs\node_modules\webrtc.io\node_modules\ws\build\binding.sl
n : error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If th
e component is not installed, either 1) install the Microsoft Windows SDK for W
indows Server 2008 and .NET Framework 3.5, or 2) install Microsoft Visual Studi
o 2008.

not only webrtc.io, jsbin, and tower also got the issue while install. how to make node find my vcbuild? is there any configuration?

@mscdex
Copy link
Contributor

mscdex commented Mar 28, 2013

Can you all please try node-gyp v0.9.3?

@Bambofy
Copy link

Bambofy commented Apr 25, 2013

this is still an issue.

@pedronasser
Copy link

Hello everybody.
I was getting this error every time I tryed install something that needs node-gyp.

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: The Platform for project 'nodetime_native.vcxproj' is invalid. Platform='x64'. You may be seeing this message because you aretrying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project.

After trying almost everything to fix this error, I started to read node-gyp's code.
And changed the line 54 on the build.js file:

  arch = config.variables.target_arch

To:

  arch = 'Win32'

And it's fixed!!! At least here.

@mscdex
Copy link
Contributor

mscdex commented May 9, 2013

@pedronasser Do you have the Windows 7.1 SDK installed?

EDIT: Or you might try @Pomax's suggestion

@pedronasser
Copy link

@mscdex yeah

@adamsmeat
Copy link

adamsmeat commented May 22, 2013

I have no idea what I'm supposed to do. I was trying to install karma but mine keeps stopping on node-gyp. Then errors about socket.io.

If this thing helps:

$ npm install -g karma
npm http GET https://registry.npmjs.org/karma
npm http 304 https://registry.npmjs.org/karma
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/xmlbuilder/0.4.2
npm http GET https://registry.npmjs.org/optimist/0.3.5
npm http GET https://registry.npmjs.org/http-proxy
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/LiveScript/1.0.1
npm http GET https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http GET https://registry.npmjs.org/colors/0.6.0-1
npm http GET https://registry.npmjs.org/chokidar
npm http GET https://registry.npmjs.org/istanbul/0.1.22
npm http GET https://registry.npmjs.org/growly
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/log4js
npm http GET https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/xmlbuilder/0.4.2
npm http 304 https://registry.npmjs.org/optimist/0.3.5
npm http 304 https://registry.npmjs.org/http-proxy
npm http 304 https://registry.npmjs.org/LiveScript/1.0.1
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/dateformat/1.0.2-1.2.3
npm http 304 https://registry.npmjs.org/istanbul/0.1.22
npm http 304 https://registry.npmjs.org/chokidar
npm http 304 https://registry.npmjs.org/colors/0.6.0-1
npm http 304 https://registry.npmjs.org/growly
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/log4js
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/prelude-ls
npm http 304 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/dequeue/1.0.3
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/async/0.1.15
npm http GET https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/prelude-ls
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http 304 https://registry.npmjs.org/dequeue/1.0.3
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/async/0.1.15
npm http 304 https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/escodegen
npm http GET https://registry.npmjs.org/handlebars
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/fileset
npm http GET https://registry.npmjs.org/which
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/utile
npm http 304 https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/escodegen
npm http 304 https://registry.npmjs.org/handlebars
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/fileset
npm http 304 https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/estraverse
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/i
npm http GET https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/deep-equal
npm http 304 https://registry.npmjs.org/estraverse
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/i
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/amdefine
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/options

> ws@0.4.25 install C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\
ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)


C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>node "d:\nodejs\n
ode_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  bufferutil.cc
..\src\bufferutil.cc(55): warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Paolo
\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj]
..\src\bufferutil.cc(66): warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Paolo
\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj]
C:\Users\Paolo\.node-gyp\0.10.5\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node
_modules\ws\build\bufferutil.vcxproj]
          with
          [
              T=v8::Object
          ]
     Creating library C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modul
  es\ws\build\Release\bufferutil.lib and object C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\s
  ocket.io-client\node_modules\ws\build\Release\bufferutil.exp
  Generating code
  Finished generating code
  bufferutil.vcxproj -> C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_mod
  ules\ws\build\Release\\bufferutil.node
  validation.cc
C:\Users\Paolo\.node-gyp\0.10.5\deps\v8\include\v8.h(184): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node
_modules\ws\build\validation.vcxproj]
          with
          [
              T=v8::Object
          ]
     Creating library C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modul
  es\ws\build\Release\validation.lib and object C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\s
  ocket.io-client\node_modules\ws\build\Release\validation.exp
  Generating code
  Finished generating code
  validation.vcxproj -> C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_mod
  ules\ws\build\Release\\validation.node
C:\Users\Paolo\AppData\Roaming\npm\karma -> C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma\bin\karma
karma@0.8.5 C:\Users\Paolo\AppData\Roaming\npm\node_modules\karma
├── pause@0.0.1
├── dateformat@1.0.2-1.2.3
├── colors@0.6.0-1
├── xmlbuilder@0.4.2
├── chokidar@0.6.2
├── growly@1.1.1
├── mime@1.2.9
├── q@0.9.3
├── coffee-script@1.6.2
├── rimraf@2.1.4 (graceful-fs@1.2.1)
├── minimatch@0.2.12 (sigmund@1.0.0, lru-cache@2.3.0)
├── optimist@0.3.5 (wordwrap@0.0.2)
├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.1)
├── LiveScript@1.0.1 (prelude-ls@1.0.0)
├── log4js@0.6.5 (dequeue@1.0.3, semver@1.1.4, async@0.1.15, readable-stream@1.0.2)
├── lodash@1.1.1
├── http-proxy@0.10.2 (pkginfo@0.2.3, utile@0.1.7)
├── istanbul@0.1.22 (abbrev@1.0.4, which@1.0.5, fileset@0.1.5, nopt@2.0.0, wordwrap@0.0.2, async@0.1.22, mkdirp@0.3.5, escodegen@0.0.22, esp
rima@0.9.9, handlebars@1.0.11)
└── socket.io@0.9.14 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.11)

@mscdex
Copy link
Contributor

mscdex commented May 22, 2013

@adamsmeat I don't see any errors in the output you provided, everything should work fine.

@TooTallNate
Copy link
Contributor

Closing.

@mineeric
Copy link

So what was the solution? I have tried to uninstall VS2010++ and a few other tings but still get the error. any idea?

@JayBeavers
Copy link
Contributor

Looking at the history, it seems this was a series of different problems. @mineeric why don't you open a new bug with your specifics and we can investigate from there.

@seanmonstar
Copy link
Author

I installed VS2012, and now have to include --msvs_version=2012 in any npm install calls that will include native modules.

@JayBeavers
Copy link
Contributor

FYI, issues are fixed and we're now waiting for them to be integrated into nodejs. See issue nodejs/node-v0.x-archive#6667 for details.

I'd suggest moving up to VS 2013 Express for Windows Desktop -- this includes an updated and significantly improved C++ compiler compared to VS 2012.

@danbars
Copy link

danbars commented Jan 26, 2014

Tried pedronasser's suggestion to change build.js line 54 to arch='win32' and it worked!
Running on windows 8.1

There's also another suggestion http://stackoverflow.com/questions/17035670/error-msb8007-while-downloading-dependencies-with-npm-and-node to try using node32 rather than 64.
I didn't try it because the above solved my problem

@siman
Copy link

siman commented May 18, 2014

Looks like Node.js and Windows are not the best friends

@Pomax
Copy link

Pomax commented May 19, 2014

@siman and therefore everyone's job to make them that, because nothing should make node.js work hard =) (node.js and win are BFF, it's when you throw in C/C++ compiling that shit gets real)

@rainabba
Copy link

@siman Node.js isn't the issue here. Look at the project you're discussing in. Many apps have come to depend on a very powerful module with dependencies that aren't well understood by the developer so we have to play musical software/tetris/traffic until things are JUST right.

I had this issue on my workstation, resolved it after days of trying and can't even say how because I tried so many things and now I'm going through the circus again on my laptop running the exact same O/S, but not as many of the previous versions of VS as my desktop had.

@tgoirand
Copy link

@kallaspriit
Copy link

In the end what worked for me when building node-serialport for node-webkit x64 was to:

  • install Visual Studio 2013 (2012 probably would work)
  • open it and select "Tools > Visual Studio Command Prompt"
  • navigate to the node module directory "node_modules/serialport" etc (that contains the binding.gyp file)
  • execute "node-pre-gyp build --runtime=node-webkit --target=0.11.2 --msvs_version=2013" (you can find out the target version in node-webkit by getting value of "process.versions['node-webkit']" and VS2012 probably would work as well, just update the --msvs_version=2012)
  • this created directory "node_modules/serialport/build/serialport/v1.4.9/Release/node-webkit-v0.11.2-win32-x64" that I had to rename to ".../node-webkit-v14-win32-x64" for node-webkit to find it.

@Pomax
Copy link

Pomax commented Dec 18, 2014

that sounds like an issue worth mentioning on the node-webkit and node-serialport though, node-gyp won't be able to change anything about you having to point MSVC++ to the right places to compile node-webkit, that's a problem with their solution file.

@robin521111
Copy link

i got below error, and when i look into the folder, there is no error, very strange!
VCBUILD : error : project file 'C:\Users\28850775\AppData\Roaming\npm\node_modu
les\mean-cli\node_modules\mongoose\node_modules\mongodb\node_modules\bson\build
\bson.vcproj' was not found or not a valid project file. [C:\Users\28850775\App
Data\Roaming\npm\node_modules\mean-cli\node_modules\mongoose\node_modules\mongo
db\node_modules\bson\build\binding.sln]

@vdrasutis
Copy link

@kevinlvhsl
Copy link

you can try install python and node-gyp before install bcrypt

@moxiaobei2
Copy link

Is that worked with windows sdk?windows sdk download so slowerly,i am down~

@yonkyunior
Copy link

seamonstar It's works, i got the same issues, installing M Visual C++ Redistributable 2005-2015, btw, i installed webmatrix before, i dont think its needed too. and i have M Visual Studio Tools for Application 2012, running well in win 7 x64 now.. thanks a lot!!

@xgqfrms-GitHub
Copy link

nodejs/node#8939

@gopithiru
Copy link

C:\xampp\htdocs\gopi\seek-starter>npm test

seek-starter@0.0.1 test C:\xampp\htdocs\gopi\seek-starter
npm run unit

seek-starter@0.0.1 unit C:\xampp\htdocs\gopi\seek-starter
karma start --single-run

04 02 2017 19:17:43.806:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
04 02 2017 19:17:43.814:INFO [launcher]: Starting browser Chrome
04 02 2017 19:17:45.532:INFO [Chrome 55.0.2883 (Windows 7 0.0.0)]: Connected on socket kjejRwvc9wYxE_aCAAAA with id 51858386
Chrome 55.0.2883 (Windows 7 0.0.0): Executed 0 of 0 ERROR (0.005 secs / 0 secs)

npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Un1que_85\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "unit"
npm ERR! node v6.9.5
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! seek-starter@0.0.1 unit: karma start --single-run
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the seek-starter@0.0.1 unit script 'karma start --single-run'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the seek-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! karma start --single-run
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs seek-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls seek-starter
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\xampp\htdocs\gopi\seek-starter\npm-debug.log
npm ERR! Test failed. See above for more details.

@MalinBranne
Copy link

MalinBranne commented Oct 15, 2018

Hi!

I wonder if you could help me.

I get the following error on windows when trying to install bcrypt:

denne@DESKTOP-F6FQ1NO MINGW64 ~/st-progress/Backend (master)
$ npm i
> bcrypt@3.0.0 install C:\Users\denne\st-progress\Backend\node_modules\bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Pre-built binaries not installable for bcrypt@3.0.0 and node@8.12.0 (node-v57 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Remote end closed socket abruptly.
node-pre-gyp WARN Pre-built binaries not installable for bcrypt@3.0.0 and node@8.12.0 (node-v57 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error bad download
Traceback (most recent call last):
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 16, in <module>
    sys.exit(gyp.script_main())
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 545, in script_main
    return main(sys.argv[1:])
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 538, in main
    return gyp_main(args)
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 523, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2025, in GenerateOutput
    version=msvs_version)
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSNew.py", line 213, in __init__
    self.Write()
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\MSVSNew.py", line 340, in Write
    f.close()
  File "D:\Node.js\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\common.py", line 393, in close
    os.rename(self.tmp_path, filename)
WindowsError: [Error 183] Det gÕr inte att skapa en fil som redan finns
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (D:\Node.js\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "D:\\Node.js\\node.exe" "D:\\Node.js\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\denne\\st-progress\\Backend\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\denne\\st-progress\\Backend\\node_modules\\bcrypt\\lib\\binding" "--napi_version=3" "--node_abi_napi=napi" "--python=C:\\Users\\denne\\.windows-build-tools\\python27\\python.exe"
gyp ERR! cwd C:\Users\denne\st-progress\Backend\node_modules\bcrypt
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'D:\Node.js\node.exe D:\Node.js\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\denne\st-progress\Backend\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\denne\st-progress\Backend\node_modules\bcrypt\lib\binding --napi_version=3 --node_abi_napi=napi --python=C:\Users\denne\.windows-build-tools\python27\python.exe' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\denne\st-progress\Backend\node_modules\bcrypt\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:915:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Windows_NT 10.0.17134
node-pre-gyp ERR! command "D:\\Node.js\\node.exe" "C:\\Users\\denne\\st-progress\\Backend\\node_modules\\bcrypt\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\denne\st-progress\Backend\node_modules\bcrypt
node-pre-gyp ERR! node -v v8.12.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.2
node-pre-gyp ERR! not ok
Failed to execute 'D:\Node.js\node.exe D:\Node.js\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\denne\st-progress\Backend\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\denne\st-progress\Backend\node_modules\bcrypt\lib\binding --napi_version=3 --node_abi_napi=napi --python=C:\Users\denne\.windows-build-tools\python27\python.exe' (1)
npm WARN backend@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bcrypt@3.0.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@3.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\denne\AppData\Roaming\npm-cache\_logs\2018-10-12T12_32_17_444Z-debug.log

How do I solve this?

@refack
Copy link
Contributor

refack commented Oct 16, 2018

@MalinBranne I think the key is in WindowsError: [Error 183] Det gÕr inte att skapa en fil som redan finns I'm not sure if there's a FS link issue, or it might be just codepage problems with python.
Can you try running chcp 437 before trying to install (https://ss64.com/nt/chcp.html)

@MalinBranne
Copy link

MalinBranne commented Oct 19, 2018 via email

@dewelloper
Copy link

dewelloper commented May 20, 2019

I want to install edge.js and it has a dependency to node-gyp and c++ build tools

Node-gyp developers in their github page telling "Python must be 2.7" for getting this error but in my case i have tryed to 2.7 and 2..7.15 nothing changed
Also i got a dependency to node-java

bored
java@0.11.0 install: node-gyp rebuild

gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
gyp ERR! stack at onErrorNT (internal/child_process.js:415:16)
gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\HAMIT\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\studies\edgejs\edge\node_modules\java
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in node-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues
npm WARN edge@8.2.1 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! java@0.11.0 install: node-gyp rebuild
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the java@0.11.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! \Roaming\npm-cache_logs\2019-05-20T13_41_30_259Z-debug.log

@richardlau
Copy link
Member

gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\15.0\Bin\MSBuild.exe ENOENT

@dewelloper #1688

@dewelloper
Copy link

@richardlau
i have 4 gb free memory what i need to working out :)

@richardlau
Copy link
Member

@richardlau
i have 4 gb free memory what i need to working out :)

Nothing to do with the amount of memory you have. If you read the issue I linked to, node-gyp doesn't currently support Visual Studio 2019. You could try the workaround posted in the same issue: #1688 (comment)

@dewelloper
Copy link

I have tryed 2015 and 2017 also ok thanks

@meeratony
Copy link

you can try install python and node-gyp before install bcrypt

That helped i installed python on my linux platform and it helped : apk add python-dev build-base gcc make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests