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

Node 18 is supposed to be supported, but it does not install on node 18. #1360

Open
PinkFromTheFuture opened this issue Oct 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@PinkFromTheFuture
Copy link

When using yarn:
error @huggingface/[email protected]: The engine "node" is incompatible with this module. Expected version ">=20". Got "18.20.4"

when using npm:

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@huggingface/[email protected]',
npm warn EBADENGINE   required: { node: '>=20' },
npm warn EBADENGINE   current: { node: 'v18.20.4', npm: '10.7.0' }
npm warn EBADENGINE }
@himself65 himself65 added the bug Something isn't working label Oct 21, 2024
@himself65
Copy link
Member

Related: huggingface/huggingface.js#540

@himself65
Copy link
Member

Nice catch, it's a dependency issue when intergrate with huggingface, We gonna drop 18 in the future of course, but today is a not a good time, let me check if any workaround

@himself65
Copy link
Member

I think the workaround is to make it peer dependency

@PinkFromTheFuture
Copy link
Author

PinkFromTheFuture commented Oct 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants