You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm create vite@latest my-svelte-app -- --template svelte
cd my-svelte-app
npm install
npm run dev
Add {if} to a .svelte template that's open in the browser. It will just say "Unexpected token" with no further details. However, if you refresh the page it will correctly show the frame where the error occurs
Describe the bug
I got the message "Unexpected token" with no further details to help me
Reproduction URL
https://github.com/vitejs/vite/tree/main/packages/create-vite/template-svelte
Reproduction
Create and run a new Svelte project:
Add
{if}
to a.svelte
template that's open in the browser. It will just say "Unexpected token" with no further details. However, if you refresh the page it will correctly show the frame where the error occursLogs
No response
System Info
The text was updated successfully, but these errors were encountered: