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
<h1>Welcome to SvelteKit</h1><p>Visit <ahref="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
Runtime error:
[vite] Pre-transform error: .svelte-kit/generated/root.svelte:48:68 `</p>` attempted to close an element that was not open
https://svelte.dev/e/element_invalid_closing_tag
[vite] Error when evaluating SSR module /.svelte-kit/generated/root.js:
|-
[vite] Error when evaluating SSR module /.svelte-kit/generated/server/internal.js:
|-
[vite] Error when evaluating SSR module /node_modules/@sveltejs/kit/src/runtime/server/index.js:
Renaming src/routes/+page.svelte to src/routes/+page.svx actually solves the error, without modifying anything else. So this seems to be related to the specific .svelte extension.
Not sure if duplicate of #653.
This impacts sveltejs/cli#384.
Problem
When configuring a new SvelteKit project with mdsvex, using
.svelte
as anextensions
option, an error appears.svelte.config.js
src/routes/+page.svelte (fresh project)
Runtime error:
Environment
Issue also appears with
[email protected]
.The text was updated successfully, but these errors were encountered: