-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with latest svelte-kit #89
Comments
Sorry, I didn't use svelte |
I use it in all my sveltekit projects and have no issues, newer node versions require setting proxy like this export default defineConfig({
server: { proxy: {} }
}); I think this broke somewhere between node 20.10 and 20.12. Also make sure you do not have a pnpm node version / node_modules mess (different versions mixing) |
I can confirm that this fixes it, thanks for that! It should work w/o the proxy bit so providing a repro momentarily... |
@liuweiGL reproduction attached to the original issue description. |
Describe the bug
Doesn't work with svelte-kit latest version. (see system info below)
Reproduction
pnpm install
pnpm dev
https://localhost:5173/
in the browser and observe the stack traceSystem Info
Output of
npx envinfo --system --npmPackages vite,vite-plugin-mkcert --binaries --browsers
:Used package manager: pnpm
Logs
The text was updated successfully, but these errors were encountered: