2016-07-31 17 views
1

Ich versuche, Konten-Passwort-Paket zu meinem Projekt hinzufügen, aber ich bekomme diesen Fehler statt, ich habe keine Ahnung, was es verursacht oder wie es zu beheben. Ich habe versucht,Kann nicht Konten-Passwort hinzufügen, wie das zu beheben?

meteor npm install node-gyp wieder aufzubauen, wie erwähnt in den Fehler zu laufen, aber es hilft nicht ...

...seed>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-1\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-1\mt-os.windows.x86 
_32\dev_bundle\lib\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 6.1.7601 
gyp ERR! command 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.x86_32\\dev_bundle\\lib\\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\.tem 
p-pilafw\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 6.1.7601 
npm ERR! argv 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.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\.tem 
p-pilafw\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-1\mt-os.windows.x86 
_32\dev_bundle\lib\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 6.1.7601 
gyp ERR! command 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.x86_32\\dev_bundle\\lib\\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\.tem 
p-pilafw\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 6.1.7601 
npm ERR! argv 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.x86_32\\dev_bundle\\bin\\node.exe" 
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi 
ndows.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\.tem 
p-pilafw\npm-debug.log 

Im bin mit Windows7-x64. Meteor 1.4.0.1 und das inspira Meteor Thema.

ich neu installiert Meteor, habe ich versucht, ein neues natives Projekt, und fügen Konten-Passwort, um es zu schaffen, aber ich das gleiche Problem bekommen ...

Versuchte Meteor auf meinem Laptop zu installieren, und das gleiche Problem bekommen ... stimmt etwas nicht mit dem Meteor selbst?

Antwort

2

Ich denke, Ihr Problem ist here erwähnt.

Try npm install --global --production windows-build-tools von Powershell laufen als here erwähnt

+0

Für Neulinge wie mich da draußen: Gehen Sie zu Start in der Suchleiste eingeben: Windows PowerShell, klicken Sie mit der rechten Maustaste darauf und öffnen Sie als Administrator. Die PowerShell wird geöffnet. Geben Sie 'meteor npm install --global --production windows-build-tools' ein und warten Sie, warten Sie und warten Sie etwas länger. Nachdem alles installiert wurde, gab es keine Bestätigung. Aber irgendwie hat das das Problem behoben, und jetzt kann ich das Konto-Passwort-Paket hinzufügen. Vielen Dank – henk

0

Wenn jemand, der müde von ‚npm ​​installieren --global --production windows-build-tools‘ versuchen, können sie es nach der Installation Python überspringen und buid tools manuell, indem Sie zu C: \ Users \ #user # \. windows-build-tools 'navigieren. Siehe link