搜尋

首頁  >  問答  >  主體

javascript - 安装grunt插件的时候,报这错?

请问这报错什么意思呢?
npm ERR! Linux 2.6.18-274.el5
npm ERR! argv "/usr/local/node/bin/node" "/usr/bin/npm" "install" "grunt-curl" "--save-dev"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-remove@0.1.0 wants grunt@~0.4.1
npm ERR! peerinvalid Peer grunt-exec@1.0.0 wants grunt@>=0.4
npm ERR! peerinvalid Peer grunt-contrib-concat@1.0.1 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-shell@1.3.1 wants grunt@>=0.4.0

npm ERR! Please include the following file with any support request:
npm ERR! /data/iyong/project/web/itempc/build/npm-debug.log

迷茫迷茫2827 天前597

全部回覆(1)我來回復

  • PHPz

    PHPz2017-04-11 12:17:45

    sudo npm i xxx -g 试试

    回覆
    0
  • 取消回覆