2017-01-09 8 views
0

Я продолжаю получать все эти предупреждения и проблемы с зависимостями при попытке установить grunt локально, используя npm install grunt --save-dev.Проблемы с установкой grunt: проблемы с множественной зависимостью

PS C:\atomworkspace\angularProject\conFusion> npm install grunt --save-dev 
[email protected] C:\atomworkspace\angularProject\conFusion 
+-- UNMET PEER DEPENDENCY [email protected] 
+-- UNMET PEER DEPENDENCY [email protected] extraneous 
+-- UNMET PEER DEPENDENCY [email protected]~0.10.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.7.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.8.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.4.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.7.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.5.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.2.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.9.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.8.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.2.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.7.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.11.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.6.0 
+-- UNMET PEER DEPENDENCY [email protected] extraneous 
+-- UNMET PEER DEPENDENCY [email protected]~0.6.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.11.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.3.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.4.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.4.1 
+-- UNMET PEER DEPENDENCY [email protected]~0.7.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.15.1 
+-- UNMET PEER DEPENDENCY [email protected]~0.3.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.4.0 
+-- UNMET PEER DEPENDENCY [email protected]~0.6.0 
`-- UNMET PEER DEPENDENCY [email protected]~0.5.0 
npm WARN [email protected] requires a peer of [email protected]~0.4.4 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.5.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.10.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.7.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.8.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.4.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.7.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.5.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.2.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.9.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.8.0 but none was installe 
npm WARN [email protected] requires a peer of [email protected]~0.2.0 but none was installed. 
npm WARN grunt-c[email protected] requires a peer of [email protected]~0.7.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.11.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.6.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.10.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.6.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.11.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.3.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.4.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.4.1 but none was installed 
npm WARN [email protected] requires a peer of [email protected]~0.7.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.15.1 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.3.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.4.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.6.0 but none was installed. 
npm WARN [email protected] requires a peer of [email protected]~0.5.0 but none was installed. 

PS C:\atomworkspace\angularProject\conFusion> 

Вот мой package.json:

{ 
    "name": "conFusion", 
    "private": true, 
    "devDependencies": { "grunt": "^1.0.1" }, 
    "engines": { "node": ">=0.10.0" } 
} 
+0

Вот мой package.json: { "имя": "Путаница", "частный": правда , "devDependencies": { "grunt": "^ 1.0.1" }, "Двигатели": { "node": "> = 0.10.0" } } –

+0

Это * предупреждения *. У вас есть куча плагинов Grunt, которые имеют равные зависимости от старой версии Grunt. Пока плагины не будут обновлены, вы не можете многое сделать. Тем не менее, все должно быть в любом случае ... возможно. – cartant

ответ

0

Попробуйте установить хрюкать глобально npm install -g grunt-cli

+1

FYI, это должно быть 'grunt-cli', установленное глобально:' npm install -g grunt-cli' – cartant