-3

Error while upgrading Angular version 8 to 16 - After fixing all compilation errors, while loading application getting blank page with below runtime errors.

Uncaught ReferenceError: Xu is not defined
at 7178 (compiler.mjs:8796:14)
at r (bootstrap:19:1)
at xe (compiler.mjs:25863:15)
at compiler.mjs:25863:15
at n (jsonp chunk loading:71:1)
at polyfills.js:1:59

zone.js:2740 Uncaught ReferenceError: Cannot access 'Rc' before 
initialization
at Object.hZE (zone.js:2740:36)
at 4737 (platform-browser-dynamic.mjs:99:34)
at r (bootstrap:19:1)
at 6336 (shared.module.ts:100:14)
at r (bootstrap:19:1)
at p (warning-dialog.component.scss:21:1)
at warning-dialog.component.scss:21:1
at r.O (chunk loaded:23:1)
at warning-dialog.component.scss:21:1
at n (jsonp chunk loading:71:1)

To get the detailed error in VS code ran below command

ng build --configuration production

With above command got some Telerik kendo related errors the same are fixed. But still while loading application getting blank page with above runtime errors.

Deleted node_modules and did npm install but no luck.

Sudha
  • 1
  • 2

0 Answers0