Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: cannot find module npm-shrinkwrap

Setting up bootstrap with grunt. Getting the following error:

Cannot find module npm-shrinkwrap

Tried npm install shrinkwrap, still getting the same error.

like image 409
Praveen Innocent Avatar asked Nov 02 '14 14:11

Praveen Innocent


People also ask

What is shrinkwrap in NPM?

NPM shrinkwrap is used to lock the dependency version in a project. After installing packages using npm install or npm install package-name and updating your node_modules folder, you should run npm shrinkwrap. It will create new npm-shrinkwrap.

Is shrinkwrap an NPM command?

NAME npm-shrinkwrap -- Lock down dependency versions SYNOPSIS npm shrinkwrap DESCRIPTION This command locks down the versions of a package's dependencies so that you can control exactly which versions of each dependency will be used when your package is installed.


1 Answers

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

like image 65
Dionysios Arvanitis Avatar answered Sep 28 '22 17:09

Dionysios Arvanitis