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
Running npm run build will result in an error.
(But running npm run dev works fine.)
Logs
4.07 KiB / brotli: 1.46 KiB
.svelte-kit/output/client/_app/start-9d0d6076.js 17.85 KiB / brotli: 5.67 KiB
vite v2.5.7 building SSR bundle for production...
✓ 28 modules transformed.
.svelte-kit/output/server/app.js 86.38 KiB
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
> 404 /_app/start-9d0d6076.js (linked from /)
Error: 404 /_app/start-9d0d6076.js (linked from /)
at file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/chunks/index5.js:85:11
at visit (file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/chunks/index5.js:212:5)
at async visit (file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/chunks/index5.js:280:6)
at async prerender (file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/chunks/index5.js:290:6)
at async Object.prerender (file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/chunks/index5.js:351:4)
at async adapt (file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/adapter-static/index.js:13:4)
at async adapt (file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/chunks/index5.js:376:2)
at async file:///xxxxxxx/svelte-kit-sandbox-static/node_modules/@sveltejs/kit/dist/cli.js:872:5
Describe the bug
@sveltejs/adapter-static
will fail to build when used withpaths.base
.svelte.config.js
I'm using is:Reproduction
https://github.com/ota-meshi/svelte-kit-sandbox-static
Running
npm run build
will result in an error.(But running
npm run dev
works fine.)Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: