question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error after Obfuscation: Uncaught SyntaxError: Unexpected string

See original GitHub issue

Hi, After a production build with Angular 8.3, if I obfuscate my main script, I get the next error:

Chrome:

Uncaught SyntaxError: Unexpected string :8101/main-es2015.f70397ecef4dd1524efd.js:1

The error message in Firefox is:

SyntaxError: missing formal parameter

Your Environment

  • Obfuscator version used: 0.21.0
  • Node version used: 12.14.1

Also happening with Node 10.16.3 and 0.18.0

Ty for any help 🙏

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
sanex3339commented, Jan 10, 2020

Released as 0.22.1, please try it

1reaction
sanex3339commented, Jan 9, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught SyntaxError: Unexpected string error - Stack Overflow
I'm getting an Uncaught SyntaxError: Unexpected string error, yet when I look at the source, as far as I can tell, it's correct....
Read more >
[resolved] 6/8 SyntaxError: Unexpected string - Codecademy
I keep getting the error message: SyntaxError: Unexpected string. Here's my code: var friends = { bill: { firstName: 'Bill', lastName: 'Gates', number:...
Read more >
Common Issues - Code | Luna Labs - Developer Docs
Uncaught SyntaxError: Unexpected identifier and/or Unknown class found: ClassNameHere​. This is likely caused due to the use of namespace names with your Unity ......
Read more >
JS Console Error: "Uncaught SyntaxError: Unexpected string"
1 and updated an older program that was running fine in the last 2021 release. It runs fine locally, but when synced the...
Read more >
Untitled
... http://kb.tableau.com/articles/howto/creating-a-string-list-to-display-in- ... -was-unable-to-compile-the-query-syntax-error-unexpected-when-attempting- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found