2015-09-27 236 views
0

我试图按照https://github.com/meanjs/meanmean.js在NPM安装错误安装

安装步骤来建立的平均堆栈我克隆了git的代码并运行该命令故宫安装

,并得到了以下错误接近尾声。在Windows

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! [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! 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> 

回答

1

您正在运行Windows系统,并node-gyp既需要的Python微软的Visual Studio C++ 2013。根据您的设置,您可能还需要安装Windows 7 64位SDK

查看node-gyp docs了解更多信息。

+0

不适用于我 –