ngx-web-worker icon indicating copy to clipboard operation
ngx-web-worker copied to clipboard

Uncaught SyntaxError: Unexpected token '{'

Open ghost opened this issue 6 years ago • 1 comments

Hi guys,

i'm trying to make the web worker works. However the following error appears: ErrorEvent {isTrusted: true, message: "Uncaught SyntaxError: Unexpected token '{'", filename: "blob:http://localhost:4200/6abd4d3b-1515-47bc-910e-73fd18189d74", lineno: 3, colno: 64, …}

I made some research and it could be because i don't have a loader for the workservice?

My project is in angular 8 and created by Angular CLI.

Best regards,

ghost avatar Nov 27 '19 12:11 ghost

Hi, were you able to solve it?

CrisMyroniuk avatar Mar 16 '23 19:03 CrisMyroniuk