Error after Obfuscation: Uncaught SyntaxError: Unexpected string
See original GitHub issueHi, 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:
- Created 4 years ago
- Comments:15 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released as
0.22.1
, please try itWill fixed in https://github.com/javascript-obfuscator/javascript-obfuscator/pull/489
Expect release tomorrow