question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot update sveltekit to next.111 with latest adapters

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mylastorecommented, Jun 21, 2021

this worked for me

		adapter: {
			adapt: async () => await node()
		},
2reactions
jthegeduscommented, Jun 1, 2021

This will likely affect all adapters within the SvelteKit monorepo as they all have the same peer-dep requirement.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found