简体   繁体   English

找不到外部模块'angular2 / http'

[英]Cannot find external module 'angular2/http'

I used the latest angular.d.ts v2.0.0-alpha.31 and angular.dev.js v31. 我使用了最新的angular.d.ts v2.0.0-alpha.31和angular.dev.js v31。 when i execute the tsc or compile my typescript code it says "Cannot find external module 'angular2/http'" 当我执行tsc或编译​​我的打字稿代码时,它说“找不到外部模块'angular2 / http'”

The http module separated from angular.dev.js. http模块与angular.dev.js分开。 Its in the http.dev.js now. 它现在在http.dev.js中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM