“Fatal error: Unable to find local grunt.” when running “grunt” command

下载到本地

>npm install grunt

>grunt

命令行运行:grunt,出现以下问题:

 

 

 

这些是Gruntfile.js中引用的,依次安装:

npm install grunt-contrib-copy

npm install grunt-contrib-concat

npm install grunt-contrib-uglify

npm install grunt-css

 

posted @ 2017-05-20 16:59  黎明之光123  阅读(4581)  评论(0编辑  收藏  举报