-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
The default app created by running npx sv create sv-create-errors creates 404 errors on run for the following files: /src/main.js, /@vite-plugin-pwa/pwa-entry-point-loaded, /dev-sw.js.
Reproduction
The generated code is at https://github.com/skamansam/sv-create-errors
Logs
The options I used were:
* sveltekit library
* use typescript
* extras:
* prettier
* eslint
* vitest
* playwright
* tailwindcss
* sveltekit-adapter
* paraglide
* storybook
* use vercel-adapter
* paraglide languages: en,es,de
* include paraglide demo: yes
* use pnpm
/workspace-other cd sv-create-errors/
/w/sv-create-errors pnpm dev
> [email protected] dev /home/sam/workspace-other/sv-create-errors
> vite dev
Using existing cloned repo
ℹ [paraglide] Compiling Messagesinto /home/sam/workspace-other/sv-create-errors/src/lib/paraglide/
4:10:02 PM [vite] (client) Forced re-optimization of dependencies
VITE v6.1.0 ready in 2732 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
SvelteKitError: Not found: /src/main.js
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:552:13)
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:352:5)
at /home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:76:26
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at ALSContext.callAsync (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/utils.js:10:31)
at Object.eval [as handle] (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:75:32)
at async respond (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:349:20)
at async file:///home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:549:22 {
status: 404,
text: 'Not Found'
}
SvelteKitError: Not found: /@vite-plugin-pwa/pwa-entry-point-loaded
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:552:13)
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:352:5)
at /home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:76:26
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at ALSContext.callAsync (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/utils.js:10:31)
at Object.eval [as handle] (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:75:32)
at async respond (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:349:20)
at async file:///home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:549:22 {
status: 404,
text: 'Not Found'
}
SvelteKitError: Not found: /src/main.js
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:552:13)
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:352:5)
at /home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:76:26
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at ALSContext.callAsync (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/utils.js:10:31)
at Object.eval [as handle] (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:75:32)
at async respond (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:349:20)
at async file:///home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:549:22 {
status: 404,
text: 'Not Found'
}
SvelteKitError: Not found: /@vite-plugin-pwa/pwa-entry-point-loaded
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:552:13)
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:352:5)
at /home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:76:26
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at ALSContext.callAsync (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/utils.js:10:31)
at Object.eval [as handle] (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:75:32)
at async respond (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:349:20)
at async file:///home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:549:22 {
status: 404,
text: 'Not Found'
}
SvelteKitError: Not found: /dev-sw.js
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:552:13)
at resolve (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:352:5)
at /home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:76:26
at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
at ALSContext.callAsync (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/utils.js:10:31)
at Object.eval [as handle] (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_sv_kzyggciyvnpppisxef32vjuw6i/node_modules/@inlang/paraglide-sveltekit/dist/runtime/hooks/handle.server.js:75:32)
at respond (/home/sam/workspace-other/sv-create-errors/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_@types+node@_pzhaupuz3jgyma3pagrf3komeu/node_modules/@sveltejs/kit/src/runtime/server/respond.js:349:40)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
status: 404,
text: 'Not Found'
}System Info
System:
OS: Linux 6.12 Fedora Linux 41 (Workstation Edition)
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 6.85 GB / 15.46 GB
Container: Yes
Shell: 5.2.32 - /bin/bash
Binaries:
Node: 23.6.0 - ~/.volta/tools/image/node/23.6.0/bin/node
Yarn: 1.22.19 - ~/.volta/bin/yarn
npm: 2.15.12 - ~/node_modules/.bin/npm
pnpm: 9.15.3 - ~/.volta/bin/pnpm
Browsers:
Brave Browser: 133.1.75.178
npmPackages:
svelte: ^5.0.0 => 5.20.1Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels