2016-05-05 5 views
1

OK, so dass alle brcypt Probleme hier scheinen Knoten-gyp bezogen zu sein, aber nach einer Weile mit bcrypt spielt schließlich habe ich es ohne Installation Fehler und Node-Gyp scheint glücklich, aber ich bekomme immer noch einige Warnungen. Es ist offensichtlich mit Visual Studio verwandt, aber ich kann nichts speziell über diese finden.npm bcrypt installieren - keine Fehler, sondern eine ganze Reihe von Warnungen auf windows 7

Ich bin auf Windows 7 x64 Ultimate und haben:

  • Visual Studio 2012 Utlimate
  • Visual Studio 2013 ultimative
  • Python 0.2.7.10
  • windows 7 x64 sdk mit allen Updates
  • Win64OpenSSL-1_0_lt

ich erhalte th e folgende Warnungen:

D:\WebstormProjects\authapp>npm install --save bcrypt 
npm WARN package.json [email protected] No description 
npm WARN package.json [email protected] No README data 

[email protected] install D:\WebstormProjects\authapp\node_modules\bcrypt 
node-gyp rebuild 


D:\WebstormProjects\authapp\node_modules\bcrypt>if not defined npm_config_node_gyp (node "C:\Program Files\n 
odejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild) else (node 
"" rebuild) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. 
    blowfish.cc 
    bcrypt.cc 
    bcrypt_node.cc 
**..\src\bcrypt.cc(232): warning C4267: '=' : conversion from 'size_t' to 'unsigned char', possible loss of d 
ata [D:\WebstormProjects\authapp\node_modules\bcrypt\build\bcrypt_lib.vcxproj] 
..\src\bcrypt_node.cc(76): warning C4244: 'argument' : conversion from 'ssize_t' to 'unsigned char', possib 
le loss of data [D:\WebstormProjects\authapp\node_modules\bcrypt\build\bcrypt_lib.vcxproj] 
..\src\bcrypt_node.cc(229): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible los 
s of data [D:\WebstormProjects\authapp\node_modules\bcrypt\build\bcrypt_lib.vcxproj] 
..\src\bcrypt_node.cc(230): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible los 
s of data [D:\WebstormProjects\authapp\node_modules\bcrypt\build\bcrypt_lib.vcxproj]** 
    win_delay_load_hook.c 
    Creating library D:\WebstormProjects\authapp\node_modules\bcrypt\build\Release\bcrypt_lib.lib and obje 
    ct D:\WebstormProjects\authapp\node_modules\bcrypt\build\Release\bcrypt_lib.exp 
    Generating code 
    Finished generating code 
    bcrypt_lib.vcxproj -> D:\WebstormProjects\authapp\node_modules\bcrypt\build\Release\\bcrypt_lib.node 
[email protected] node_modules\bcrypt 
├── [email protected] 
└── [email protected] 

Hat jemand irgendwelche Ideen, was hier schief gegangen ist?

Danke.

Antwort

1

Wenn Sie auf Windows, empfehle ich Ihnen Bcrypt-NodeJS verwenden diese Fehler möglichst zu vermeiden. Sie werden ungefähr die gleiche Funktionalität bekommen, soweit ich das beurteilen kann.

+0

cool danke, die gut gearbeitet. – user3075259

Verwandte Themen