![](/img/trans.png)
[英]NPM install error MEAN.js sample application on Amazon EC2 Linux?
[英]mean.js installation error on npm install
我嘗試按照https://github.com/meanjs/mean中的安裝步驟來構建均值堆棧
我從git克隆了代碼並運行命令npm install
並得到以下錯誤。
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\..\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.1.1
npm ERR! npm v3.3.4
npm ERR! code ELIFECYCLE
npm ERR! bufferutil@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bufferutil@1.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bufferutil 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 their info via:
npm ERR! npm owner ls bufferutil
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Git_projects\meanjs\npm-debug.log
C:\Git_projects\meanjs>
您正在運行Windows系統,並且Windows上的node-gyp
需要Python和Microsoft Visual Studio C ++ 2013 。 根據您的設置,您可能還需要安裝Windows 7 64位SDK 。
有關更多信息,請參見node-gyp文檔 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.