简体   繁体   中英

Uncaught (In Promise): Error: Access Denied in IE11

Am using Angular 7 in my project and I found this error last day. It is happening only in the deployed site. Not in my local. Also the same issue is not throwing in any other browsers, but in IE11 (Haven't tried any lower versions of IE). This issue was not there before and its been happening from last day only. I tried to figure out the issue. Tried changing polyfills and so on. But nothing worked. Tried this link also. But that is also not resolved. Any help will be appreciated. Thanks in advance

The reason your Promises are causing errors in IE is that Promises are not supported in IE11.

Although, there are ways to add support for them:

  • 3rd Party Promise libraries (ie: Bluebird )
  • If you are using ES6 syntax, perhaps use a transpiler (ie: Babel )

Current support for promises

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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