openai-node
openai-node copied to clipboard
Error install openai with pnpm
Confirm this is a Node library issue and not an underlying OpenAI API issue
- [X] 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
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 [email protected]
at [email protected]
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
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.
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.
Thanks for update @rattrayalex!!. Yes, it does look like an issue with pnpm.