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

LanceDb not working? #122

Closed
sivertbjo opened this issue Oct 8, 2024 · 2 comments
Closed

LanceDb not working? #122

sivertbjo opened this issue Oct 8, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@sivertbjo
Copy link

sivertbjo commented Oct 8, 2024

Trying to follow the docs (as a nodejs noob), and can't get it to work using LanceDb:

[`Waiting for the debugger to disconnect...
node:internal/modules/esm/resolve:265
throw new ERR_MODULE_NOT_FOUND(
^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\sivebjor\OneDrive - Viaplay Group\Desktop\p4chat-nodejs\node_modules@llm-tools\embedjs\vectorDb\lance' imported from C:\Users\sivebjor\OneDrive - Viaplay Group\Desktop\p4chat-nodejs\app.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
at ModuleWrap. (node:internal/modules/esm/module_job:87:39)
at link (node:internal/modules/esm/module_job:86:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/sivebjor/OneDrive%20-%20Viaplay%20Group/Desktop/p4chat-nodejs/node_modules/@llm-tools/embedjs/vectorDb/lance'
}`]

Any ideas? It's missing the vectorDb-folder inside node_modules.

@adhityan
Copy link
Collaborator

adhityan commented Oct 9, 2024

The library had a refactor recently and the docs were not yet updated. Could you look at the updated documentation here - https://llm-tools.mintlify.app/components/vector-databases/lancedb and see if that addresses the issue for you?

@adhityan adhityan added the question Further information is requested label Oct 9, 2024
@sivertbjo
Copy link
Author

I ended up using a different solution, but that seems like the fix. Will test it in the future. Thanks!

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

No branches or pull requests

2 participants