You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to get the object of cookies use method getObject(<cookie_name>)
but after run the code it shows following error -
zone.js:199 Uncaught SyntaxError: Unexpected token e in JSON at position 0
at JSON.parse ()
at CookieService.getObject (ngx-cookie.js:187)
at cookieComponent.push../src/app/shared/entity/cookies/cookie-consent/cookie-consent.component.ts.cookieComponent.removeGoogleCookies (cookie-consent.component.ts:50)
at cookie-consent.component.ts:82
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
at invokeTask (zone.js:1744)
at globalZoneAwareCallback (zone.js:1781)
The text was updated successfully, but these errors were encountered:
Try to get the object of cookies use method getObject(<cookie_name>)
but after run the code it shows following error -
The text was updated successfully, but these errors were encountered: