-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Vite and vercel-adapter depend on incompatible versions of Esbuild #12047
Comments
I suspect this is a bug in Bun and not in SvelteKit. Can you try running |
Hi Jarred, thanks for shimming in! Unfortunately, upgrading Bun to v1.0.36, and |
Having exact same issue |
I'll close this since it seems to be a bug in bun. I do plan to upgrade Vite and esbuild in SvelteKit, but have been waiting for vitest to upgrade first: vitest-dev/vitest#5421 |
Describe the bug
When updating my packages to their latest version and deploying on Vercel I get the following error:
I believe this is because
@sveltejs/adapter-vercel
depends on Esbuild^0.19
whilevite
depends on its version^0.20
, which is semver incompatible:kit/packages/adapter-vercel/package.json
Line 35 in f685af9
https://github.com/vitejs/vite/blob/1f5379601e80d63916b7d77dd16d5dd8387e0002/packages/vite/package.json#L88
I think this could be fixed by accepting
esbuild@^0.20
as aadapter-vercel
dependency (supporting both 0.19 and 0.20)Reproduction
N/A
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: