Boostrap

在运行grunt的时候,报如下错误:

C:\Documents and Settings\Administrator\bower_components\bootstrap>grunt
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'npm-shrinkwrap'
Warning: Task "default" not found. Use --force to continue.


Aborted due to warnings.


这个问题按照bootstrap的文档:

除错

如果你在安装依赖包或者运行 Grunt 命令时遇到了问题,请首先删除 npm 自动生成的 /node_modules/ 目录,然后,再次运行 npm install 命令。




你可能感兴趣的:(Boostrap)