2016-07-29 6 views
3

meteor accounts-facebook을 사용하여 앱에 로그인 시스템을 추가하려고하는데 계정 비밀번호가 작동하지 않는 이유를 모르겠습니다. 이 메시지가 나타납니다.meteor accounts-password error

**C:\Users\Desktop\simple-todos>meteor add accounts-password 
=> Errors while adding packages: 
While loading package [email protected]: 
error: Command failed: 
C:\Users\AppData\Local\.meteor\packages\meteor-tool\1.4.0\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd 
rebuild --no-bin-links --update-binary 
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:\Users\AppData\Local\.meteor\packages\meteor-tool\1.4.0\mt-os.windows.x86_32\dev_bundle\bin\node_modules\node-gyp\lib\build.js:276:23) 
gyp ERR! stack  at emitTwo (events.js:87:13) 
gyp ERR! stack  at ChildProcess.emit (events.js:172:7) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit 
(internal/child_process.js:200:12) 
gyp ERR! System Windows_NT 10.0.10586 
gyp ERR! command 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node_modules\\node-gyp\\bin\\node-gyp.js" 
"rebuild" 
gyp ERR! cwd 
C:\Users\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.temp-hbsxuh\node_modules\bcrypt 
gyp ERR! node -v v4.4.7 
gyp ERR! node-gyp -v v3.4.0 
gyp ERR! not ok 
npm ERR! Windows_NT 10.0.10586 
npm ERR! argv 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" 
"rebuild" "--no-bin-links" "--update-binary" 
npm ERR! node v4.4.7 
npm ERR! npm v3.10.5 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] install: `node-gyp rebuild` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. 
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 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 information on how to open an issue for this project 
with: 
npm ERR!  npm bugs bcrypt 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls bcrypt 
npm ERR! There is likely additional logging output above. 
npm ERR! Please include the following file with any support request: 
npm ERR! 
C:\Users\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.temp-hbsxuh\npm-debug.log 
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:\Users\AppData\Local\.meteor\packages\meteor-tool\1.4.0\mt-os.windows.x86_32\dev_bundle\bin\node_modules\node-gyp\lib\build.js:276:23) 
gyp ERR! stack  at emitTwo (events.js:87:13) 
gyp ERR! stack  at ChildProcess.emit (events.js:172:7) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit 
(internal/child_process.js:200:12) 
gyp ERR! System Windows_NT 10.0.10586 
gyp ERR! command 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node_modules\\node-gyp\\bin\\node-gyp.js" 
"rebuild" 
gyp ERR! cwd 
C:\Users\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.temp-hbsxuh\node_modules\bcrypt 
gyp ERR! node -v v4.4.7 
gyp ERR! node-gyp -v v3.4.0 
gyp ERR! not ok 
npm ERR! Windows_NT 10.0.10586 
npm ERR! argv 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" 
"rebuild" "--no-bin-links" "--update-binary" 
npm ERR! node v4.4.7 
npm ERR! npm v3.10.5 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] install: `node-gyp rebuild` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. 
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 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 information on how to open an issue for this project 
with: 
npm ERR!  npm bugs bcrypt 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls bcrypt 
npm ERR! There is likely additional logging output above. 
npm ERR! Please include the following file with any support request: 
npm ERR! 
C:\Users\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.temp-hbsxuh\npm-debug.log** 

누군가는 왜 페이스 북의 작품이 아닌 계정으로 나를 설명 할 수 있습니까?

답변

2

좋아

안부, 보인다.

계정 - 암호에는 암호 해시에 사용하는 npm-bcrypt이 필요합니다.

이제 npm-bcrypt을 설치하려면 기본 추가 기능 빌드 도구가 필요하며 차례로 MS Build Tools (which you can download here)이 필요합니다. 설치 만하시면됩니다. Read more here

1

블로그 게시물을 읽는 데 3 시간 이상이 걸 렸을 때 마침내 해결책을 찾았습니다. 'benjamn'로

많은 NPM 패키지

은 당신이해야합니다 here을 언급 한 최소한의 gcc/g ++ 4.8

내가 시도 :

gcc -v 
g++ -v 

내가 가진 4.6

마침내 업데이트되었습니다 (우분투에서는 지원되지 않음). 윈도우) this post 이러한 (감사) :

sudo apt-get install python-software-properties 
sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update 
sudo apt-get install gcc-4.8 
sudo apt-get install g++-4.8 
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20 

는 나는 그것이 도움이되기를 바랍니다. 당신이 MS Build Tools를 설치하지 않고 유성의 최신 버전을 사용하는 것처럼

0

내가 리눅스에 구축하고, 위의 힌트를 사용하고는했다 :

는 sudo apt-get을 구축 필수가

다음

유성 계정 암호를

근무를 추가 설치!