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

Dependency issue when attempting to use vectordb (LanceDB) #101

Closed
lucastimmons opened this issue Aug 12, 2024 · 1 comment
Closed

Dependency issue when attempting to use vectordb (LanceDB) #101

lucastimmons opened this issue Aug 12, 2024 · 1 comment
Assignees

Comments

@lucastimmons
Copy link

After running npm i @llm-tools/embedjs and then trying to run npm install vectordb I get this error:

code ERESOLVE
ERESOLVE could not resolve

While resolving: @llm-tools/[email protected]
Found: [email protected]
node_modules/vectordb
vectordb@"*" from the root project

Could not resolve dependency:
peerOptional vectordb@"^0.8.0" from @llm-tools/[email protected]
node_modules/@llm-tools/embedjs
@llm-tools/embedjs@"^0.0.94" from the root project

Conflicting peer dependency: [email protected]
node_modules/vectordb
peerOptional vectordb@"^0.8.0" from @llm-tools/[email protected]
node_modules/@llm-tools/embedjs
@llm-tools/embedjs@"^0.0.94" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

@adhityan-kv-shift
Copy link
Contributor

The library (on version 0.0.94) required vectordb version 0.0.8 and you are installing vectordb version 0.0.9 and hence the error. The new version of the library 0.0.95 requires and works with vectordb version 0.0.9.

So you have two options -

  1. Use library version 0.0.94 with vectordb version 0.0.8
  2. Use library version 0.0.95 with vectordb version 0.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants