Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Why i getting this error Uncaught SyntaxError: Unexpected token ')' ?


when im go to console , i get this error for the first initialization after npm install and npm run dev ( same way using yarn too )

Uncaught SyntaxError: Unexpected token ')' (at content.js:16:41) , what is that means ? and how to resolve this error ?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


I've also started to get this error today. Upon inspecting the error message it seems like the problem is a script downloaded by Meta Pixel Helper browser extension.
Looks like the team behind it updated something and pushed script with error.
I guess there's no need to do anything, just wait until the team behind this extension fixes this issue.



yep, thanks for this reply, noticed it on my unrelated project today



Hi Alexandr,

Thank you for your feedback.

Unfortunately, we were unable to reproduce this error in the most recent Metronic version.

Could you please specify which browser you are using?

Do you get the error only when using our theme or on all websites?

Moreover, we would appreciate it if you could provide us with the link to the extension you are using.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



thanks for this reply @Alexandr Diakov


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(