Uncaught SyntaxError: expected expression, got '<'
We have a full stack "MEAN"(CosmosDb/mongoDB, Nodejs, Express and Angular 12) project hosted on Microsoft Azure. Somehow today I tried to log into the app with my favorite browser Firefox and got stuck. Looked at the developer console and saw a bunch of exceptions. I tried our app running on various browsers: Chrome, Opera, Edge, Brave. They all work fine. Furthermore my local server also works with Firebox browser. What could be my issue? Please help.
Thanks so much!
Regards, Simon Web Development Leads
For checking: Our app url: https://reactiv-stage.azurewebsites.net usr/pwd: firefox/Test1234
Exception stack: Uncaught SyntaxError: expected expression, got '<' 944-es2015.f3df909392cc66c28462.js:1 ERROR Error: Uncaught (in promise): ChunkLoadError: Loading chunk 944 failed. (missing: https://reactiv-stage.azurewebsites.net/944-es2015.f3df909392cc66c28462.js) n.f.j@https://reactiv-stage.azurewebsites.net/runtime-es2015.4ce74e2f04c7193e849c.js:1:2878 n.e/<@https://reactiv-stage.azurewebsites.net/runtime-es2015.4ce74e2f04c7193e849c.js:1:886 n.e@https://reactiv-stage.azurewebsites.net/runtime-es2015.4ce74e2f04c7193e849c.js:1:852 loadChildren@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1915005 loadModuleFactory@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:937911 load@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:937519 getChildConfig/<@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:930031 _tryNext@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765367 _next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765285 next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1744982 i/<@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1776818 _trySubscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1741063 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740871 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765023 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765023 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1759671 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 l@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1750180 _innerSub@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765539 _tryNext@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765446 _next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765285 next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1744982 i/<@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1776818 _trySubscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1741063 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740871 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765023 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1763270 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1768690 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:900653 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1759671 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1764181 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 l@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1750180 _innerSub@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765539 _tryNext@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765446 _next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765285 next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1744982 i/<@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1776818 _trySubscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1741063 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740871 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1765023 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:899488 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:900149 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:900653 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1764181 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1764181 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1759671 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 call@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1764181 subscribe@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1740749 l@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1750180 _innerSub@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1768116 _next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1767958 next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1744982 notifyNext@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1768434 _next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1749848 next@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1744982 c/</</<@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:1776187 invoke@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:6542 onInvoke@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:314487 invoke@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:6482 run@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:1941 P/<@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:16629 invokeTask@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:7160 onInvokeTask@https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1:314303 invokeTask@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:7081 runTask@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:2556 m@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:9154 invokeTask@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:8239 _@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:20027 k@https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1:20349 <pre> Z https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 Z https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 P https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 invokeTask https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 onInvokeTask https://reactiv-stage.azurewebsites.net/main-es2015.c2b0cbbb8862de0e3042.js:1 invokeTask https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 runTask https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 m https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 invokeTask https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 _ https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1 k https://reactiv-stage.azurewebsites.net/polyfills-es2015.2091e870b19d658a9f50.js:1
Izmjenjeno
Svi odgovori (1)
Update: It is working now after I rebuilt the Angular front UI. Don't think anything has fundamentally been changed. The project rebuilding is probably just a random fix this time. This issue might still happen in the future. Then I will be reporting it again.
- Simon