Node.js   发布时间:2022-04-24  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了node.js – yeoman角度生成器不会在grunt服务上启动大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
当我用自耕农设置角度生成器时,我在做了咕噜声后得到了这个错误 @H_702_2@module.js:340 throw err; ^ Error: CAnnot find module './lexer' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/var/www/angMaps/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js:10:10) at Object.<anonymous> (/var/www/angMaps/node_modules/grunt/node_modules/coffee-script/lib/coffee-script/coffee-script.js:167:4) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12)

解决方法

正如@SteveBirkner已经提到的那样,删除node_modules目录并再次运行npm install命令.它应该工作.

大佬总结

以上是大佬教程为你收集整理的node.js – yeoman角度生成器不会在grunt服务上启动全部内容,希望文章能够帮你解决node.js – yeoman角度生成器不会在grunt服务上启动所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。