问题描述
- grunt serve时报错 Cannot find module 'lodash/assign'
-
安装了bower install 和 npm install,当npm install时总是有几个WARN然后我当时没在意,结果等我grunt serve时,报错了:
Loading "Gruntfile.js" tasks...ERROR
Error: Cannot find module 'lodash/assign'
Warning: Task "serve" not found. Use --force to continue.Aborted due to warnings.
大神help~~~
后来我又copy了一个完整的node_modules
然后运行grunt serve时什么都没有,就像这样:
F:handartemis>grunt serveF:handartemis>
解决方案
http://stackoverflow.com/questions/27431187/cannot-find-module-lodash
时间: 2024-08-01 20:59:05