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
When starting dev or build mode on an app generated after running npm init svelte@next, an error is thrown saying that the default error page does not exist.
Reproduction
Generate a template app using npm init svelte@next and start dev mode
Logs
> svelte-kit-test-repo@0.0.1 dev C:\devenv\projects\svelte-kit-test-repo
> svelte-kit dev
> .svelte-kit/generated/manifest.js:3:14: error: Could not resolve "..\\runtime\\components\\error.svelte" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
3 │ () => import("..\\runtime\\components\\error.svelte"),
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Build failed with 1 error:
.svelte-kit/generated/manifest.js:3:14: error: Could not resolve "..\\runtime\\components\\error.svelte" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
.svelte-kit/generated/manifest.js:3:14: error: Could not resolve "..\\runtime\\components\\error.svelte" (mark it as external to exclude it from the bundle, or add ".catch()" to handle the failure at run-time)
at failureErrorWithLog (C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:1493:15)
at runOnEndCallbacks (C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:941:63)
at buildResponseToResult (C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:1149:7)
at C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:1258:14
at C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:629:9
at handleIncomingPacket (C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:726:9)
at Socket.readFromStdout (C:\devenv\forks\kit\node_modules\.pnpm\esbuild@0.13.15\node_modules\esbuild\lib\main.js:596:7)
at Socket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:293:12)
I suspect this is a Windows-only bug or we'd have had other reports of it. None of the maintainers are on Windows except for one WSL user, so I'd love any help you can offer with this one
I'm closing this issue because the version of the svelte kit running on the repo was a fork linked via pnpm. The issue can't be reproduced after installing the right version of the svelte kit. Sorry.
Describe the bug
When starting dev or build mode on an app generated after running
npm init svelte@next
, an error is thrown saying that the default error page does not exist.Reproduction
Generate a template app using
npm init svelte@next
and start dev modeLogs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: