Can't install kinde SDK for sveltekit because of the new svelte5 installation dependency.
Hello,
Svelte5 was released yesterday. Today I attempted to install the new version which installed with no issues.
Used the command npm i @kinde-oss/kinde-auth-sveltekit as I did multiple times in the past but I was greated with dependency errors :
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/svelte
npm error dev svelte@"^5.0.0" from the root project
npm error peer svelte@"^4.0.0 ^5.0.0-next.0" from @sveltejs/[email protected]
npm error node_modules/@sveltejs/kit
npm error dev @sveltejs/kit@"^2.0.0" from the root project
npm error peer @sveltejs/kit@"^1.20.4 ^2.0.0" from @kinde-oss/[email protected]
npm error node_modules/@kinde-oss/kinde-auth-sveltekit
npm error @kinde-oss/kinde-auth-sveltekit@"" from the root project
npm error 1 more (@sveltejs/vite-plugin-svelte)
npm error
npm error Could not resolve dependency:
npm error peer svelte@"^4.0.0" from @kinde-oss/[email protected]
npm error node_modules/@kinde-oss/kinde-auth-sveltekit
npm error @kinde-oss/kinde-auth-sveltekit@"" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
Please advise!
4 Replies
Hi @2009average This was raised in our Slack community as well, we are looking into it as a priority. Will let you know when we have a resolution.
Thank you.
Not sure if you are the same person (Foodie) from Slack, but if you follow the issue in github - you'll be notified when it's done. https://github.com/kinde-oss/kinde-sveltekit-sdk/issues/39
GitHub
Bug: (fill in)installing the sdk fails because of the new svelte5 i...
Prerequisites I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate I have checked the latest version of the library to replicate my issue I have read the...
Hey @2009average,
I can see you raised the same issue on our Slack community and confirmed that you did indeed raise the following GitHub issue: https://github.com/kinde-oss/kinde-sveltekit-sdk/issues/39
My team and I will update you on the progress of this issue on the GitHub issue.
GitHub
Bug: (fill in)installing the sdk fails because of the new svelte5 i...
Prerequisites I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate I have checked the latest version of the library to replicate my issue I have read the...