Ionic 2项目不适用于新计算机

时间:2017-12-12 16:00:56

标签: angular ionic2

我已将计算机更换为新计算机并尝试安装所有内容以运行我的离子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)




1 个答案:

答案 0 :(得分:1)

只需将角度模块更新为4.4.4

npm install @angular/core@latest