在WebStorm中安装Meteor时出错

时间:2016-08-22 08:26:25

标签: meteor npm webstorm bcrypt

Meteor 1.4.1 is available. Update this project with 'meteor update'.
=> Started MongoDB.
=> Errors prevented startup:

   While downloading npm-bcrypt@0.8.7...:
   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

1 个答案:

答案 0 :(得分:0)

以下步骤应解决它。

  1. 删除帐户密码包
  2. 添加npm-bcrypt包meteor add npm-bcrypt
  3. 添加帐户密码包
  4. 如果这不起作用,请尝试安装MS Build Tools Download Here