javascript - 安装grunt插件的时候,报这错?
迷茫
迷茫 2017-04-11 12:15:45
0
1
559

请问这报错什么意思呢?
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

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all (1)
PHPzhong

sudo npm i xxx -g 试试

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!