错误:无法找到模块npm-shrinkwrap

时间:2022-08-24 07:26:31

Setting up bootstrap with grunt. Getting the following error:

用grunt设置bootstrap。出现以下错误:

Cannot find module npm-shrinkwrap

找不到模块npm-shrinkwrap

Tried npm install shrinkwrap, still getting the same error.

尝试npm安装shrinkwrap,仍然得到相同的错误。

1 个解决方案

#1


11  

run npm install first on bower_components\bootstrap directory. Then, run grunt dist.

首先在bower_components \ bootstrap目录下运行npm install。然后,运行grunt dist。

#1


11  

run npm install first on bower_components\bootstrap directory. Then, run grunt dist.

首先在bower_components \ bootstrap目录下运行npm install。然后,运行grunt dist。