有没有人能给我一个能让angular2编译通过的package.json?Error at angular2/ng2_webpack_aot/node_modules/typescript/lib/lib.es2015.core.d.ts:17:14: Duplicate identifierError at angular2/ng2_webpack_aot/node_modules/@ty
我有和Angular2应用程序,我正在编译,以便使用AoT运行。我已经解决了我在实际编译中遇到的问题,我还能够从头到尾运行汇总,没有错误(尽管有很多警告,我认为这是意料之中的)。但是,在运行应用程序时,浏览器总是声明require is not defined在我的app.bundle.js上。下面是我的功能
我目前正尝试将AOT编译引入到我的Angular2项目中。在执行了中列出的所有步骤之后,在运行命令ng build --aot之后,我收到了错误specify either statically analyzable bootstrap code or pass/aot/src/app/app.module.ngfactory';
ena