Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • 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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(