Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误:XHR错误(未找到404)加载http://localhost:35229/angular2/platform/browser_Angular_Typescript - Fatal编程技术网

错误:XHR错误(未找到404)加载http://localhost:35229/angular2/platform/browser

错误:XHR错误(未找到404)加载http://localhost:35229/angular2/platform/browser,angular,typescript,Angular,Typescript,我在visual Studio 2013中为angular2/typescript编写了一个小程序,它可以在所有浏览器上正常运行。。但是当我在INTERNET EXPLORER上运行它时,我什么也得不到。。。当我检查元件时,我得到以下错误 Error: XHR error (404 Not Found) loading http://localhost:35229/angular2/platform/browser Error loading http://localhost:35229/an

我在visual Studio 2013中为angular2/typescript编写了一个小程序,它可以在所有浏览器上正常运行。。但是当我在INTERNET EXPLORER上运行它时,我什么也得不到。。。当我检查元件时,我得到以下错误

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
我的主菜

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

bootstrap(AppComponent, [ ROUTER_PROVIDERS ] );

您使用的是哪个角度版本?在最新版本中,angular
路由器\u提供程序
已被弃用。angular2版本。。。那么我应该使用什么..查看路由教程