Skip to content
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

bug: Sveltekit repo dependency out of date with current nodejs version #898

Open
paulhovey opened this issue Jan 2, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@paulhovey
Copy link

Describe the bug

When adding @logto/sveltekit to a project, it appears that the sub-dependency @silverhand/[email protected] is dependent on a node version that's not compatible with the latest

> pnpm add @logto/sveltekit
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

This error happened while installing the dependencies of @logto/[email protected]
 at @logto/[email protected]

Your Node version is incompatible with "@silverhand/[email protected]".

Expected version: ^18.12.0 || ^20.9.0 || ^22.0.0
Got: v23.3.0

This is happening because the package's manifest has an engines.node field specified.
To fix this issue, install the required Node version.

Expected behavior

It appears that silverhand organization is related to logto, so I would expect the dependencies to be updated so that logto can also work with the latest node release by default.

How to reproduce?

  • Use Node 23 for a sveltekit 2 and svelte 5 project
  • pnpm add @logto/sveltekit

Context

N/A

@paulhovey paulhovey added the bug Something isn't working label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants