简体   繁体   English

为什么在Angular 2应用程序页面上重新加载IE时出现多个..js.map文件找不到404错误?

[英]Why on Angular 2 app page reload in IE I get multiple ..js.map files not found 404 errors?

Ihave a Angular2 app that when I reload a page I get the following 404s.. 我有一个Angular2应用,当我重新加载页面时,我得到以下404。

在此处输入图片说明

I do not see these errors when debugging in Chrome - only IE11 an Edge (not tested on earlier IE versions or Safari etc) 在Chrome中调试时,我看不到这些错误-仅IE11和Edge(未经IE早期版本或Safari等测试)

I use WebPack for building. 我使用WebPack进行构建。

Can someone point me in the right direction please? 有人可以指出我正确的方向吗?

Thanks. 谢谢。

It seems that most of your errors come from Observable and Subscription, it could be a compatibility problem due to ES6 expression. 看来您的大多数错误都来自Observable和Subscription,由于ES6表达式,这可能是兼容性问题。 Angular 2 / 4 not working in IE11 Angular 2/4在IE11中不起作用

Try to enable ES5 for IE instead ;) 尝试改为为IE启用ES5;)

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

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