简体   繁体   English

npm install上的mean.js安装错误

[英]mean.js installation error on npm install

I tried to build the mean stack by following the installation steps in https://github.com/meanjs/mean 我尝试按照https://github.com/meanjs/mean中的安装步骤来构建均值堆栈

I cloned the code from git and run the command npm install 我从git克隆了代码并运行命令npm install

And got the below error towards the end. 并得到以下错误。

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>

You're running a Windows system, and node-gyp on windows requires both Python and Microsoft Visual Studio C++ 2013 . 您正在运行Windows系统,并且Windows上的node-gyp需要PythonMicrosoft Visual Studio C ++ 2013 Depending on your setup you may also need to install the Windows 7 64-bit SDK . 根据您的设置,您可能还需要安装Windows 7 64位SDK

See the node-gyp docs for more info. 有关更多信息,请参见node-gyp文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM