-
-
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
cannot update sveltekit to next.111 with latest adapters #1618
Comments
This also affects adapter-vercel (this was issue was raised on Discord). |
I had the same issue when using adapter-vercel, resulting in a 'resolve is undefined' error in the handle hook-function. I need to update to sveltekit next.111 but the peer dependency of adapter-vercel does not allow. |
Workaround for now:
|
This also affects
|
This will likely affect all adapters within the SvelteKit monorepo as they all have the same peer-dep requirement. |
Currently, npm install @sveltejs/kit@next --force
# or, change the version in package.json and run the following
npm install --force You can also use the |
I'm not so sure this is an issue with workspace dependency support in npm. If I look at
In other words, the package that was published to npm (the repository) has this version number hard-coded. That can't be fixed by using a different local client. |
Yeah, so this is related to my point that kit has typically been released quite a few times between adapter releases. Does this mean that now adapters are always supposed to be republished whenever kit is published, to keep the deps in sync? Or can peer deps be written more flexibly with semver? |
Yep. Looks like same issue is happening with Netlify adapter as well. |
this worked for me
|
Describe the bug
The peer dependencies on the latest
adapter-node
(next.23) appear to make it impossible to updatekit
past next.110. If I try to do so withnpm install @sveltejs/kit@next
, I get the following error:Expected behavior
I don't expect
adapter-node
's peer deps to need to be updated every timekit
is updated in order to use them together. This hasn't been the case over the past two months and if it's the new norm it will be pretty annoying, sincekit
is updated much more often thanadapter-node
. I hope this is just a hiccup following the new peer dependencies inadapter-node
.Severity
High severity given how much SvelteKit is in flux and the need to keep up with the latest version.
The text was updated successfully, but these errors were encountered: