Reputation: 101
If I want to install a package via npm globally, then I get the following error repeatedly... Has anybody an idea to solve this problem?
Upvotes: 0
Views: 276
Reputation: 13762
The short answer is don't install grunt-contrib
. It used to be a small collection of tasks but as the grunt-contrib-*
series grew, so did that library.
Nobody ever needs to install every grunt-contrib-*
library. Instead, just install the tasks you need: npm install grunt-contrib-compress --save-dev
Otherwise, if you insist, install the peer dependency version it expects npm install [email protected]
and try installing again: npm install grunt-contrib
.
Upvotes: 1