Hello, Getting error wile running the application, there is already one discussion is going on similar to this, tried those steps, but didn't worked. Also tried upgrading to newer version 7.1 to overcome this, but still we are facing the same. Tried downgrading of angular version to 8.0.1 but not able clear the issue.
Unhandled Promise rejection: Cannot read property 'toLowerCase' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'toLowerCase' of undefined
at setLocaleId (core.js:23665)
at core.js:27268
at ZoneDelegate.push../node_modules/
zone.js/dist/zone.js.ZoneDelegate.invoke
(zone.js:391)
at Object.onInvoke (core.js:26769)
at ZoneDelegate.push../node_modules/
zone.js/dist/zone.js.ZoneDelegate.invoke
(zone.js:390)
at Zone.push../node_modules/
zone.js/dist/zone.js.Zone.run
(zone.js:150)
at NgZone.push../node_modules/@angular/core/fesm5/core.js.NgZone.run (core.js:26683)
at PlatformRef.push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory (core.js:27259)
at core.js:27302
at ZoneDelegate.push../node_modules/
zone.js/dist/zone.js.ZoneDelegate.invoke
(zone.js:391) TypeError: Cannot read property 'toLowerCase' of undefined
at setLocaleId (
http://localhost:4200/vendor.js:71000:26
)
at
http://localhost:4200/vendor.js:74603:13
at ZoneDelegate.push../node_modules/
zone.js/dist/zone.js.ZoneDelegate.invoke
(
http://localhost:4200/polyfills.js:12618:26
)
at Object.onInvoke (
http://localhost:4200/vendor.js:74104:33
)
at ZoneDelegate.push../node_modules/
zone.js/dist/zone.js.ZoneDelegate.invoke
(
http://localhost:4200/polyfills.js:12617:52
)
at Zone.push../node_modules/
zone.js/dist/zone.js.Zone.run
(
http://localhost:4200/polyfills.js:12377:43
)
at NgZone.push../node_modules/@angular/core/fesm5/core.js.NgZone.run (
http://localhost:4200/vendor.js:74018:28
)
at PlatformRef.push../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModuleFactory (
http://localhost:4200/vendor.js:74594:23
)
at
http://localhost:4200/vendor.js:74637:59
at ZoneDelegate.push../node_modules/
zone.js/dist/zone.js.ZoneDelegate.invoke
(
http://localhost:4200/polyfills.js:12618:26
)
3 Answer(s)
-
0
You need to downgrade angular to 8.0.0
-
0
We have the same issue. Downgrading to 8.0.0 didn't help us.
-
0
@axilla Have you seen this post? https://support.aspnetzero.com/QA/Questions/7262