Grunt dependencies conflicts in Bootstrap

前端 未结 6 2172
滥情空心
滥情空心 2021-01-31 07:36

I\'ve downloaded Bootstrap source files from the official website and I\'m getting dependency conflicts when installing the project using node\'s npm. I have

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-31 08:10

    this problem is peerDependencies for grunt
    If you want to know this issue, then go to this url
    http://blog.nodejs.org/2013/02/07/peer-dependencies/

    this is solution to solve it's problem
    step1 : You open the package.json in root directory
    step2 : find the string "grunt" : "~0.4.2"
    step3 : Modify to "grunt": "0.4.2"
    step4 : $ npm install

提交回复
热议问题