Angular 4 app using IE 11, “Can't execute code from a freed script”

前端 未结 6 1642
失恋的感觉
失恋的感觉 2021-02-05 04:48

I have an Angular app which I think is version 4. IE 11 crashes during a login sequence in this app: \"Can\'t execute code from a freed script\". According to the IE console the

6条回答
  •  有刺的猬
    2021-02-05 05:50

    According to this thread the actual fix is to do nothing! This error only occurs when DevTools are open in IE, which basically means it only happens when you are looking for it. IE is just wonderful, isn't it?

    Closing DevTools (as almost everyone will when viewing a website) will not cause this error to happen.

    The above fixes can be applied for a testing or a development environment if needed, but ideally do not apply them to a production environment since it just adds some extra overhead that isn't needed.

提交回复
热议问题