chad3814 / node-hashtable

Native hashtable interface for when V8 objects can't take the heat
MIT License
106 stars 41 forks source link

compile fails on windows #4

Closed capaj closed 10 years ago

capaj commented 10 years ago

I tried to install hashtable on windows 8 x64 and unfortunately it fails:

D:\WebstormProjects\Moonridge>npm install hashtable npm WARN package.json Moonridge@0.0.1 No repository field. npm http GET https://registry.npmjs.org/hashtable npm http 304 https://registry.npmjs.org/hashtable

hashtable@0.1.4 install D:\WebstormProjects\Moonridge\node_modules\hashtable node-gyp configure build

D:\WebstormProjects\Moonridge\node_modules\hashtable>node "C:\Program Files\node js\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.j s" configure build D:\WebstormProjects\Moonridge\node_modules\hashtable\build\native.vcxproj(3,14) : error MSB4066: The attribute "Label" in element is unrecognized. 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:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789: 12) gyp ERR! System Windows_NT 6.2.9200 gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu les\node-gyp\bin\node-gyp.js" "configure" "build" gyp ERR! cwd D:\WebstormProjects\Moonridge\node_modules\hashtable gyp ERR! node -v v0.10.21 gyp ERR! node-gyp -v v0.10.10 gyp ERR! not ok npm ERR! weird error 1 npm ERR! not ok code 0

Can you try to fix it?

ghost commented 10 years ago

I don't think there's anything that I can do at the module level. It might be a configuration error on your part. Have you successfully built other native addons in Windows?

capaj commented 10 years ago

Yeah, and I have tried to build on windows server 2012 just now and it was success, the error from before was fail, because my environment is configured wrongly. You can close this issue.

ghost commented 10 years ago

Alright, I'm glad it worked out.