我正在尝试在我的Ubuntu 14.04 Linux系统上安装离子框架。我已经安装了nodejs,npm,cordova。我在终端中使用命令'npm install -g ionic',每次出现以下错误
npm http GET https://registry.npmjs.org/ionic
npm http 304 https://registry.npmjs.org/ionic
npm WARN unmet dependency /home/dineshadhithya/node_modules/ionic/node_modules/connect/node_modules/finalhandler requires debug@'1.0.4' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /home/dineshadhithya/node_modules/ionic/node_modules/request/node_modules/ form-data requires combined-stream@'~0.0.4' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
ionic@1.7.14 node_modules/ionic
答案 0 :(得分:0)
这似乎解决了许多人的问题:Why does npm install say I have unmet dependencies?
node_modules
rm -rf node_modules/
npm cache clean