Angular2应用程序未在资源管理器10中运行

时间:2016-12-06 17:04:08

标签: javascript html angular

我有一个基本的Angular2应用程序在chrome,firefox中正常运行但是当我尝试在资源管理器中运行它时,它在控制台中给出了以下错误:

Error: (SystemJS) Access is denied.

    Error: Access is denied.

    at ZoneAwarePromise (file:///C:/Users/SACHDEVA/Desktop/Angular2_test/node_modules/angular2/bundles/angular2-polyfills.js:610:30)
    Error loading file:///C:/Users/SACHDEVA/Desktop/Angular2_test/app/boot.ts 

依赖项声明为:

<script src="node_modules/es6-shim/es6-shim.js"></script>
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="https://code.angularjs.org/tools/typescript.js"></script>
<script src="node_modules/rxjs/bundles/Rx.js"></script>
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
<script src="https://code.angularjs.org/2.0.0-beta.15/http.dev.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootswatch/3.2.0/sandstone/bootstrap.min.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">

0 个答案:

没有答案