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
Building fails with the error: [vite-plugin-sveltekit-compile] Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js" in Vite manifest
This used to build fine. Last @sveltejs/kit version I was on where this worked was 1.0.1
npm run build
...
✓ built in 19.21s
[vite-plugin-sveltekit-compile] Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js"in Vite manifest
✓ built in 25.84s
error during build:
Error: Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js"in Vite manifest
at resolve_symlinks (file:///home/gbz/app/svelte/node_modules/@sveltejs/kit/src/exports/vite/build/utils.js:76:28)
at find_deps (file:///home/gbz/app/svelte/node_modules/@sveltejs/kit/src/exports/vite/build/utils.js:57:26)
at Object.handler (file:///home/gbz/app/svelte/node_modules/@sveltejs/kit/src/exports/vite/index.js:724:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PluginDriver.hookParallel (file:///home/gbz/app/svelte/node_modules/rollup/dist/es/shared/node-entry.js:24317:17)
at async file:///home/gbz/app/svelte/node_modules/rollup/dist/es/shared/node-entry.js:25678:13
at async catchUnfinishedHookActions (file:///home/gbz/app/svelte/node_modules/rollup/dist/es/shared/node-entry.js:24758:20)
at async build (file:///home/gbz/app/svelte/node_modules/vite/dist/node/chunks/dep-79892de8.js:46246:22)
at async CAC.<anonymous> (file:///home/gbz/app/svelte/node_modules/vite/dist/node/cli.js:813:9)
After the failed build, I looked in .svelte-kit/output/client/vite-manifest.json, which only has:
The text was updated successfully, but these errors were encountered:
regnaio
changed the title
[vite-plugin-sveltekit-compile] Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js" in Vite manifest
Blocked Build: [vite-plugin-sveltekit-compile] Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js" in Vite manifest
Apr 5, 2023
regnaio
changed the title
Blocked Build: [vite-plugin-sveltekit-compile] Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js" in Vite manifest
Building blocked if using Web Workers
Apr 5, 2023
regnaio
changed the title
Building blocked if using Web Workers
Building blocked if using Web Workers | Missing files in Vite manifest
Apr 5, 2023
regnaio
changed the title
Building blocked if using Web Workers | Missing files in Vite manifest
Building blocked if using Web Workers / Missing files in Vite manifest
Apr 5, 2023
I'm getting the same error when trying to build a project with @sveltejs/kit 1.5.0 that uses a Worker. I hadn't connected it with the Worker until I saw this issue. Any ideas on a workaround?
Describe the bug
Initializing a Web Worker in a TypeScript file imported into a Svelte component as recommended by Vite:
Building fails with the error:
[vite-plugin-sveltekit-compile] Could not find file "node_modules/@sveltejs/kit/src/runtime/client/start.js" in Vite manifest
Is this related? fix: throw error when file can't be found in Vite manifest #9558
This used to build fine. Last
@sveltejs/kit version
I was on where this worked was1.0.1
After the failed build, I looked in
.svelte-kit/output/client/vite-manifest.json
, which only has:Looks like
node_modules/@sveltejs/kit/src/runtime/client/start.js
is missingReproduction
Broken on Latest:
create-svelte@3.2.0
@sveltejs/kit@1.15.1
Used to work on:
@sveltejs/kit@1.0.1
Don't know exactly which version of @sveltejs/kit this broke
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: