Reputation: 1885
npm install -g grunt-cli //done successfully
npm install grunt --save --only=dev
gives following error
(node:11000) fs: re-evaluating native module sources is not supported. If
you are using the graceful
-fs module, please update it to a more recent version.
npm WARN prefer global [email protected] should be installed with -g
[email protected] C:\Users\Live\Desktop\node grunt\final
`-- (empty)
npm WARN [email protected] No repository field.
npm ERR! code 1
Tried uninstalling grunt-cli, cleaning npm cache, then re-installing, but still the problem persists.
Upvotes: 0
Views: 205
Reputation: 7585
Ok short recap:
node_modules
and install all packages again using npm install
npm
by executing npm update -g npm
and redo step 1.nvm
or n
.Upvotes: 1