cannot update sveltekit to next.111 with latest adapters
See original GitHub issueDescribe the bug
The peer dependencies on the latest adapter-node
(next.23) appear to make it impossible to update kit
past next.110. If I try to do so with npm install @sveltejs/kit@next
, I get the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving:
npm ERR! Found: @sveltejs/kit@1.0.0-next.111
npm ERR! node_modules/@sveltejs/kit
npm ERR! dev @sveltejs/kit@"^1.0.0-next.111" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @sveltejs/kit@"1.0.0-next.110" from @sveltejs/adapter-node@1.0.0-next.23
npm ERR! node_modules/@sveltejs/adapter-node
npm ERR! dev @sveltejs/adapter-node@"1.0.0-next.23" from the root project
Expected behavior
I don’t expect adapter-node
’s peer deps to need to be updated every time kit
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, since kit
is updated much more often than adapter-node
. I hope this is just a hiccup following the new peer dependencies in adapter-node
.
Severity High severity given how much SvelteKit is in flux and the need to keep up with the latest version.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Remove peerDependencies due to pnpm bug #1621 - GitHub
Successfully merging this pull request may close these issues. cannot update sveltekit to next.111 with latest adapters. 1 participant.
Read more >Adapters • Docs • SvelteKit
To create a simple Node server, install the @sveltejs/adapter-node package and update your svelte.config.js : svelte.config.js
Read more >I cannot build my sveltekit project with any adapter! failed to ...
Try installing the latest version of the adapter. ex. npm install @sveltejs/adapter-netlify@next. I was having trouble building with the ...
Read more >0 - Stack Overflow
I'm trying to deploy a sveltekit app to vercel with adapter-vercel . It's just a basic SPA app. I've created a sveltekit app...
Read more >svelte-adapter-firebase - npm
Latest version: 0.14.4, last published: 3 months ago. ... npm install --save-dev svelte-adapter-firebase ... 0.8.x, 1.0.0-next.111.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this worked for me
This will likely affect all adapters within the SvelteKit monorepo as they all have the same peer-dep requirement.