Polymer 2.0 app crashes Internet Explorer 11

我的未来我决定 提交于 2019-12-11 07:59:22

问题


I have a polymer 2.0 app that is transpiled to ES5. It works well in Edge, Firefox, and Chrome; however, when I open it in Internet Explorer 11 on Windows 7, 8.1, or 10, the program crashes. Sometimes it will render without most of the styles, other times it will crash before the page is even rendered. Once, it said that a script was running long and asked if I wanted to stop the script. Doing this also crashed IE.

Since the developer tools won't open, I'm not able to debug this. What suggestions would you have for resolving this issue?


回答1:


In the project's bower.json file, webcomponentsjs was only saved as a dev dependency. Changing this to a primary dependency, rerunning bower install, and then rebuilding the app has solved this issue.



来源:https://stackoverflow.com/questions/44360529/polymer-2-0-app-crashes-internet-explorer-11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!