首页 > 解决方案 > SCRIPT1002: Syntax error - IE11, problem with ngx-cookie-service with angular 8

问题描述

I have a problem with IE11 when I inject 'CookieService' on the 'providers' of 'app.module.ts'. I got this message with freezing page on IE11:

SCRIPT1002: Syntax error
vendor.js (152116,1)

It works with all other navigators, I also tried 'ngx-cookie' and I got the same error.

Does anyone have a solution for this?

标签: npminternet-explorer-11angular8angular-cookiesngx-cookie-service

解决方案


推荐阅读