npm install -g grunt-cli //done successfully
npm install grunt --save --only=dev
给出以下错误
(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 coffee-script@1.10.0 should be installed with -g
project@1.0.0 C:\Users\Live\Desktop\node grunt\final
`-- (empty)
npm WARN project@1.0.0 No repository field.
npm ERR! code 1
尝试卸载grunt-cli,清理npm缓存,然后重新安装,但问题仍然存在。