错误:XHR错误(404 Not Found)加载http:// localhost:35229 / angular2 / platform / browser

时间:2017-03-09 07:13:29

标签: angular typescript

我已经在visual studio 2013中为angular2 / typescript编写了一个小程序,它可以在所有浏览器上运行...但是当我在INTERNET EXPLORER上运行时,我什么也没得到......当我inspect element时我收到以下错误

Error: XHR error (404 Not Found) loading http://localhost:35229/angular2/platform/browser

Error loading http://localhost:35229/angular2/platform/browser as "angular2/platform/browser" from http://localhost:35229/js/main.ts

my main.ts

import {bootstrap} from 'angular2/platform/browser';
import {AppComponent} from './app.component';
import {ROUTER_PROVIDERS} from 'angular2/router';

bootstrap(AppComponent, [ ROUTER_PROVIDERS ] );

0 个答案:

没有答案