-1

Bugsnag is capturing a SyntaxError Unexpected token '<' in production but the app is running fine in all stages. I saw in some of the forums with the same question as mine but the difference is that the error is not showing in the developer tools but in Bugsnag. I am only a junior dev in our company so I don't have access to the deployment and building process of our app.

What is causing this error? Is there a way to trace as to where the error is occurring in the code? The information in Bugsnag is not that helpful.

Bugsnag STACKTRACE

Error and warnings shown in developer tool

I saw these suggestions but I didn't tried them yet as I have no access to run the build command in prod.

Resolve! Uncaught SyntaxError: Unexpected token ‘,’ or ‘<' in Angular

Syntax Error in Angular App: Unexpected token <

Allen
  • 1
  • 2

0 Answers0