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

Error install openai with pnpm #740

Open
1 task done
rahilvora opened this issue Mar 29, 2024 · 3 comments
Open
1 task done

Error install openai with pnpm #740

rahilvora opened this issue Mar 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@rahilvora
Copy link

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • This is an issue with the Node library

Describe the bug

When I am trying to install pnpm install openai, I am getting md5 dependency error when it tries to install digest-fetch dependency

To Reproduce

  1. pnpm install openai

Error

 ERR_PNPM_NO_MATCHING_VERSION  No matching version found for md5@^2.3.0

This error happened while installing the dependencies of openai@4.30.0
 at digest-fetch@1.3.0

The latest release of md5 is "2.1.0".

If you need the full list of all 2 published versions run "$ pnpm view md5 versions".

Code snippets

No response

OS

macOS

Node version

20.11.1

Library version

4.30.0

@rahilvora rahilvora added the bug Something isn't working label Mar 29, 2024
@rattrayalex
Copy link
Collaborator

rattrayalex commented Mar 29, 2024

Thanks for the report, we're looking into this. I don't think that dependency is actually used, so if you can find a way to ignore this, you should be fine.

@rattrayalex
Copy link
Collaborator

We are removing that dependency, and it should be out early next week.

However, note that md5 does indeed have a 2.3.0 package live on npm, so this may have been a transient bug, or a problem with pnpm.

@rahilvora
Copy link
Author

Thanks for update @rattrayalex!!. Yes, it does look like an issue with pnpm.

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