Skip to content

Instantly share code, notes, and snippets.

@gilbertbw
Created August 12, 2012 09:56
Show Gist options
  • Save gilbertbw/3330977 to your computer and use it in GitHub Desktop.
Save gilbertbw/3330977 to your computer and use it in GitHub Desktop.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Gilbert>cd webstormprojects/nodeofgames
C:\Users\Gilbert\WebstormProjects\NodeOfGames>npm install bcrypt --save
npm http GET https://registry.npmjs.org/bcrypt
npm http 200 https://registry.npmjs.org/bcrypt
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 200 https://registry.npmjs.org/bindings/1.0.0
npm http GET https://registry.npmjs.org/-/bindings-1.0.0.tgz
npm http 404 https://registry.npmjs.org/-/bindings-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/-/bindings-1.0.0.tgz
npm ERR! Error: 404 Not Found
npm ERR! at null.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm
\lib\utils\fetch.js:47:16)
npm ERR! at EventEmitter.emit (events.js:115:20)
npm ERR! at WriteStream.flush (fs.js:1503:12)
npm ERR! at fs.close (C:\Program Files (x86)\nodejs\node_modules\npm\node_mo
dules\graceful-fs\graceful-fs.js:94:5)
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! [Error: 404 Not Found]
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bcrypt" "--save"
npm ERR! cwd C:\Users\Gilbert\WebstormProjects\NodeOfGames
npm ERR! node -v v0.8.1
npm ERR! npm -v 1.1.33
npm ERR! message 404 Not Found
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Gilbert\WebstormProjects\NodeOfGames\npm-debug.log
npm ERR! not ok code 0
C:\Users\Gilbert\WebstormProjects\NodeOfGames>npm install bcrypt
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.1 install C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_module
s\bcrypt
> node-gyp rebuild
C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_modules\bcrypt>node "C:\Progr
am Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node
-gyp\bin\node-gyp.js" rebuild
blowfish.cc
bcrypt.cc
bcrypt_node.cc
c:\users\gilbert\.node-gyp\0.8.1\src\node_object_wrap.h(57): warning C4251: 'no
de::ObjectWrap::handle_' : class 'v8::Persistent<T>' needs to have dll-interfac
e to be used by clients of class 'node::ObjectWrap' [C:\Users\Gilbert\WebstormP
rojects\NodeOfGames\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
with
[
T=v8::Object
]
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled.
Specify /EHsc [C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_modules\bcryp
t\build\bcrypt_lib.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(99
0,5): warning MSB8012: TargetPath(C:\Users\Gilbert\WebstormProjects\NodeOfGames
\node_modules\bcrypt\build\Release\bcrypt_lib.dll) does not match the Linker's
OutputFile property value (C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_m
odules\bcrypt\build\Release\bcrypt_lib.node). This may cause your project to bu
ild incorrectly. To correct this, please make sure that $(OutDir), $(TargetName
) and $(TargetExt) property values match the value specified in %(Link.OutputFi
le). [C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_modules\bcrypt\build\b
crypt_lib.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(99
1,5): warning MSB8012: TargetExt(.dll) does not match the Linker's OutputFile p
roperty value (.node). This may cause your project to build incorrectly. To cor
rect this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) prop
erty values match the value specified in %(Link.OutputFile). [C:\Users\Gilbert\
WebstormProjects\NodeOfGames\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
Creating library C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_module
s\bcrypt\build\Release\bcrypt_lib.lib and object C:\Users\Gilbert\WebstormPro
jects\NodeOfGames\node_modules\bcrypt\build\Release\bcrypt_lib.exp
bcrypt_node.obj : error LNK2001: unresolved external symbol "class v8::Local<cl
ass v8::Value> __cdecl node::Encode(void const *,unsigned int,enum node::encodi
ng)" (?Encode@node@@YA?AV?$Local@VValue@v8@@@v8@@PBXIW4encoding@1@@Z) [C:\Users
\Gilbert\WebstormProjects\NodeOfGames\node_modules\bcrypt\build\bcrypt_lib.vcxp
roj]
C:\Users\Gilbert\WebstormProjects\NodeOfGames\node_modules\bcrypt\build\Release
\bcrypt_lib.node : fatal error LNK1120: 1 unresolved externals [C:\Users\Gilber
t\WebstormProjects\NodeOfGames\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
gyp ERR! rebuild error Error: `C:\windows\Microsoft.NET\Framework\v4.0.30319\msb
uild.exe` failed with exit code: 1
gyp ERR! rebuild error at ChildProcess.onExit (C:\Program Files (x86)\nodejs
\node_modules\npm\node_modules\node-gyp\lib\build.js:214:23)
gyp ERR! rebuild error at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! rebuild error at Process._handle.onexit (child_process.js:674:10)
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.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bcrypt"
npm ERR! cwd C:\Users\Gilbert\WebstormProjects\NodeOfGames
npm ERR! node -v v0.8.1
npm ERR! npm -v 1.1.33
npm ERR! code ELIFECYCLE
npm ERR! message bcrypt@0.7.1 install: `node-gyp rebuild`
npm ERR! message `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Gilbert\WebstormProjects\NodeOfGames\npm-debug.log
npm ERR! not ok code 0
C:\Users\Gilbert\WebstormProjects\NodeOfGames>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment