第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

正在回答

5 回答

windows 下開發(fā)確實(shí)會(huì)有很多坑,我已經(jīng)有 3 年多沒有用過 windows 系統(tǒng)了,看這個(gè)報(bào)錯(cuò)感覺是 bcrypt 這個(gè)庫(kù)安裝的有問題,試試從 stackoverflow 上搜搜相關(guān)的 issue

3 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Neal_Shan 提問者

謝謝你的回復(fù),確實(shí)太坑爹了,要裝.NET framework, vc++2012 vs2005, 我最后還是使用bcrypt-nodejs來代替了
2014-10-08 回復(fù) 有任何疑惑可以回復(fù)我~

用bcrypt-nodejs替換后,代碼修改什么樣??誰(shuí)貼出來看看

0 回復(fù) 有任何疑惑可以回復(fù)我~

我也遇到了同樣的問題,樓主你是怎么解決的?求分享!

0 回復(fù) 有任何疑惑可以回復(fù)我~

我也出現(xiàn)了同樣的問題,根據(jù)提示安裝了python2.7.8,運(yùn)行npm install bcrypt --save后等待了很久才執(zhí)行完。

D:\WWW\node_modules\imooc_movie\movie>npm?install?bcrypt?--save
npm?WARN?package.json?movie@0.2.0?No?README?data
npm?WARN?package.json?crypto@0.0.3?crypto?is?also?the?name?of?a?node?core?module
.
|
>?bcrypt@0.7.8?install?D:\WWW\node_modules\imooc_movie\movie\node_modules\bcrypt

>?node-gyp?rebuild


D:\WWW\node_modules\imooc_movie\movie\node_modules\bcrypt>node?"C:\Program?Files
\nodejs\node_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.
??blowfish.cc
??bcrypt.cc
??bcrypt_node.cc
..\src\bcrypt.cc(232):?warning?C4267:?“=”:?從“size_t”轉(zhuǎn)換到“unsigned?char”
,可能丟失數(shù)據(jù)?[
D:\WWW\node_modules\imooc_movie\movie\node_modules\bcrypt\build\bcrypt_lib.vcxp
roj]
C:\Program?Files?(x86)\Microsoft?Visual?Studio?10.0\VC\include\xlocale(323):?wa
rning?C4530:?使用了?C++?異常處理程序,但未啟用展開語(yǔ)義。請(qǐng)指定?/EHsc?[D:\WWW\nod
e_modules\imooc_movie
\movie\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
..\src\bcrypt_node.cc(133):?warning?C4244:?“參數(shù)”:?從“ssize_t”轉(zhuǎn)換到“unsign
ed?char”,可
能丟失數(shù)據(jù)?[D:\WWW\node_modules\imooc_movie\movie\node_modules\bcrypt\build\bcry
pt_l
ib.vcxproj]
..\src\bcrypt_node.cc(207):?warning?C4244:?“參數(shù)”:?從“const?ssize_t”轉(zhuǎn)換到“
unsigned?c
har”,可能丟失數(shù)據(jù)?[D:\WWW\node_modules\imooc_movie\movie\node_modules\bcrypt\b
uild\bc
rypt_lib.vcxproj]
..\src\bcrypt_node.cc(298):?warning?C4267:?“初始化”:?從“size_t”轉(zhuǎn)換到“int”
,可能丟失數(shù)據(jù)?[D:\
WWW\node_modules\imooc_movie\movie\node_modules\bcrypt\build\bcrypt_lib.vcxproj
]
..\src\bcrypt_node.cc(299):?warning?C4267:?“初始化”:?從“size_t”轉(zhuǎn)換到“int”
,可能丟失數(shù)據(jù)?[D:\
WWW\node_modules\imooc_movie\movie\node_modules\bcrypt\build\bcrypt_lib.vcxproj
]
C:\Users\Albert\.node-gyp\0.10.32\deps\v8\include\v8.h(184):?warning?C4506:?內(nèi)聯(lián)
函
數(shù)“v8::Persistent<T>?v8::Persistent<T>::New(v8::Handle<T>)”沒有定義?[D:\WWW\no
de_mod
ules\imooc_movie\movie\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
??????????with
??????????[
??????????????T=v8::Object
??????????]
?????正在創(chuàng)建庫(kù)?D:\WWW\node_modules\imooc_movie\movie\node_modules\bcrypt\build\
Rele
??ase\bcrypt_lib.lib?和對(duì)象?D:\WWW\node_modules\imooc_movie\movie\node_modules\b
cr
??ypt\build\Release\bcrypt_lib.exp
??正在生成代碼
??已完成代碼的生成
??bcrypt_lib.vcxproj?->?D:\WWW\node_modules\imooc_movie\movie\node_modules\bcry
??pt\build\Release\\bcrypt_lib.node
bcrypt@0.7.8?node_modules\bcrypt
└──?bindings@1.0.0

而后再運(yùn)行g(shù)runt就成功了。

1 回復(fù) 有任何疑惑可以回復(fù)我~

確實(shí)用bcrypt-node

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
node建站攻略(二期)——網(wǎng)站升級(jí)
  • 參與學(xué)習(xí)       51926    人
  • 解答問題       421    個(gè)

幫助你深入前后端開發(fā)留下的迷惑,為進(jìn)一步自學(xué)打下基礎(chǔ)

進(jìn)入課程
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)