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.

Unexpected token. Did you mean `{'>'}` or `>`?

See original GitHub issue

svelte

Describe the bug On a perfectly good app.svelte file I’m getting the above.

System (please complete the following information):

  • OS: Windows
  • IDE: VSCode
  • Plugin/Package: Svelte Beta

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:50 (30 by maintainers)

github_iconTop GitHub Comments

2reactions
mgholamcommented, May 31, 2020

I’ve opened another request regarding the optimization of the vs code extension size on disk (currently 150mb). Can you comment on this? [I have deleted the typescript and prettier folders from the svelte-language-server\node_modules and all seems well, but you could “build” everything and not rely on the node_modules right?]

1reaction
mgholamcommented, Jun 16, 2020

Woo Hoo! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unexpected token. Did you mean `{'}'}` or `}`? JSX ...
I'm getting the error: Error: Unexpected token. Did you mean {'}' ...
Read more >
unexpected token. did you mean `{'>'}` or `>`? react
For anyone facing this issue: uninstalled `prettier`, restart VScode, and re-install `prettier` and everything works fine.
Read more >
SyntaxError: Unexpected token - JavaScript - MDN Web Docs
The JavaScript exceptions "unexpected token" occur when a specific language construct was expected, but something else was provided.
Read more >
How To Fix - "Parsing error: Unexpected Token" in React.js ...
Such “Unexpected token” signify a common behavioural problem – somewhere in your code a specific construct was supplied, but the system expected something ......
Read more >
Documentation - TypeScript 3.9
// Unexpected token. Did you mean `{'>'}` or `>`? That error message came with a handy quick fix, and ...
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