3
我有一個角2版本(2.0.1)應用程序在Chrome中工作正常,但投在Internet Explorer 11以下錯誤:角2版本(2.0.1)的Internet Explorer(SystemJS)語法錯誤
Error: (SystemJS) Syntax error
SyntaxError: Syntax error
at Anonymous function (eval code:11:1)
at Anonymous function (eval code:1:31)
at eval code (eval code:1:2)
Evaluating http://localhost:56159/areas/dashboard/modules/app.module.js
Evaluating http://localhost:56159/areas/dashboard/dashboard.js
Error loading http://localhost:56159/areas/dashboard/dashboard.js
{
[functions]: ,
__proto__: { },
description: "(SystemJS) Syntax error
SyntaxError: Syntax error
at Anonymous function (eval code:11:1)
at Anonymous function (eval code:1:31)
at eval code (eval code:1:2)
Evaluating http://localhost:56159/areas/dashboard/modules/app.module.js
Evaluating http://localhost:56159/areas/dashboard/dashboard.js
Error loading http://localhost:56159/areas/dashboard/dashboard.js",
message: "(SystemJS) Syntax error
SyntaxError: Syntax error
at Anonymous function (eval code:11:1)
at Anonymous function (eval code:1:31)
at eval code (eval code:1:2)
Evaluating http://localhost:56159/areas/dashboard/modules/app.module.js
Evaluating http://localhost:56159/areas/dashboard/dashboard.js
Error loading http://localhost:56159/areas/dashboard/dashboard.js",
name: "Error",
originalErr: { },
stack: "(SystemJS) Syntax error
SyntaxError: Syntax error
at Anonymous function (eval code:11:1)
at Anonymous function (eval code:1:31)
at eval code (eval code:1:2)
Evaluating http://localhost:56159/areas/dashboard/modules/app.module.js
Evaluating http://localhost:56159/areas/dashboard/dashboard.js
Error loading http://localhost:56159/areas/dashboard/dashboard.js"
}
我的index.html有:
<script src="./node_modules/core-js/client/shim.min.js"></script>
<script src="./node_modules/zone.js/dist/zone.js"></script>
<script src="./node_modules/reflect-metadata/Reflect.js"></script>
<script src="./node_modules/systemjs/dist/system.src.js"></script>
我已經看到了有關不同IE墊片一對夫婦的建議和職位,但他們都是早期版本的角2.
有什麼建議?