2017-02-14 52 views
0

安装咕噜,青菜用Node.js的时候,我下面就如何使用Node.js下载软件包等 我已经完全遵循说明书上Lynda.com课程咕噜没有被发现。 我已经安装了最新版本的Node.js的,通过混帐击在Windows 10

通过混帐击我已经安装了最新版本的咕噜如下

[email protected] MINGW64/
$ npm install -g grunt cli 
C:\Users\Nicholas\AppData\Roaming\npm\grunt -> C:\Users\Nicholas\AppData\Roaming\npm\node_modules\grunt\bin\grunt 
C:\Users\Nicholas\AppData\Roaming\npm 
+-- [email protected] 
`-- [email protected] 

当我输入通过混帐击以下 npm install --save grunt-sass 我得到的以下错误

npm WARN [email protected] requires a peer of [email protected]>=0.4.0 but none was installed. 

我该如何解决这个问题?

+0

我已经进入“故宫名单”到Git的方法Bash和得到这个错误“NPM ERR! peer dep missing:grunt @> = 0.4.0,需要[email protected]' –

回答

1

我导航到咕噜,萨斯通过GIT中的Bash安装的文件夹,然后进入

npm install [email protected] 

这似乎修复错误,看来这既是一个最新的版本后,已安装并在需要较早的版本。