我已将计算机更换为新计算机并尝试安装所有内容以运行我的离子2项目,一切正常并且是最新的但由于某种原因我得到了以下内容运行ionic serve -l
Uncaught TypeError: jit_val_0 is not a function
at eval (ng:///AppModule/module.ngfactory.js:3)
at evalExpression (compiler.es5.js:26569)
at jitStatements (compiler.es5.js:26581)
at JitCompiler._compileModule (compiler.es5.js:26862)
at compiler.es5.js:26801
at Object.then (compiler.es5.js:1683)
at JitCompiler._compileModuleAndComponents (compiler.es5.js:26799)
at JitCompiler.compileModuleAsync (compiler.es5.js:26728)
at PlatformRef_._bootstrapModuleWithZone (core.es5.js:4811)
at PlatformRef_.bootstrapModule (core.es5.js:4797)

答案 0 :(得分:1)
只需将角度模块更新为4.4.4
npm install @angular/core@latest