2016-03-15 79 views
0

我安装了Node Js,然后安装了Grunt。当我运行Grunt Copy命令时,cmd显示这些错误:未找到本地npm模块“grunt-prettify”。它是否安装?

local npm module "grunt-prettify" not found. is it installed? 

local npm module "grunt-autoprifixer" not found. is it installed? 

local npm module "grunt-contrib-cssmin" not found. is it installed? 

local npm module "grunt-contrib-uglify" not found. is it installed? 

任何人都可以告诉我如何摆脱这些消息。提前致谢!

回答

1

您需要运行npm install grunt-prettify grunt-autoprifixer grunt-contrib-cssmin grunt-contrib-uglify

+1

是的,它的工作兄弟谢谢! –

相关问题