码上敲享录 > AngularJS详解 > 执行ng build --prod报错信息ERROR in ./src/$$_gendir async

执行ng build --prod报错信息ERROR in ./src/$$_gendir async

上一章章节目录下一章 2018-05-05已有2056人阅读 评论(0)

执行ng build --prod报错信息如下:

ERROR in ./src/$$_gendir async

Module not found: Error: Can't resolve 'F:\jianzhi\items\ng2-framework\src\$$_ge

ndir\app\pages\maps\maps.module.ngfactory.ts' in 'F:\jianzhi\items\ng2-framework

\src\$$_gendir'

@ ./src/$$_gendir async

@ ./~/@angular/core/@angular/core.es5.js

@ ./src/main.ts

@ multi ./src/main.ts


解决方法:

执行以下命令行即可

npm install enhanced-resolve@3.3.0


本文地址:http://yayihouse.com/yayishuwu/chapter/1235

向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti
0

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交