安装了的WebPack的AOT插件(https://www.npmjs.com/package/@ngtools/webpack)后,dynamic requires不再起作用: // Example that used to work
public getJson<T>(fileName: String): T {
return require(`../../${fileName}_
我正在关注使用JitCompilerFactory加载运行时编译器和自定义装饰器以保留组件和模块元数据的解决方案here。但随着角CLI --build-optimizer标志,我得到: ERROR Error: Cannot resolve all parameters for 'Parser'(?). Make sure that all the parameters are decorate
我想用时间前进来构建我的Angular4应用程序。 构建过程运行正常,并没有错误,但是当我运行该应用程序我在控制台收到此错误: ERROR Error: Runtime compiler is not loaded
at J (vendor.ac8dafb82366354245dd.bundle.js:1)
at t.compileModuleSync (vendor.ac8d
我不断收到此错误,只要我离子建立android --prod。它适用于离子发射和离子运行。即使离子建立也没关系。 Error: Cannot determine the module for class SupplierChequeModalPage in
C:/wamp/www/pos/src/pages/supplier-cheque-modal/supplier-cheque
-moda