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

Cannot setup reor locally #360

Open
Manas-Kenge opened this issue Aug 18, 2024 · 2 comments
Open

Cannot setup reor locally #360

Manas-Kenge opened this issue Aug 18, 2024 · 2 comments

Comments

@Manas-Kenge
Copy link

Describe the bug
While setting up reor locally I get the following error. After running npm install when I run npm run dev I see this.

X [ERROR] Could not resolve "evaluatex/dist/evaluatex"

    node_modules/@aarkue/tiptap-math-extension/dist/index.js:3:22:
      3 │ import evaluatex from 'evaluatex/dist/evaluatex';
        ╵                       ~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "evaluatex/dist/evaluatex" as external to exclude it from the bundle, which
  will remove this error.

App threw an error during load
Error: vectordb: failed to load native library.
  You may need to run `npm install @lancedb/vectordb-win32-x64-msvc`.

  If that does not work, please file a bug report at https://github.com/lancedb/lancedb/issues
      
  Source error: Error: Cannot find module 'C:\Users\manas\Open source\reor\node_modules\vectordb\node_modules\@lancedb\vectordb-win32-x64-msvc\index.node'. Please verify that the package.json has a valid "main" entry
    at Object.<anonymous> (C:\Users\manas\Open source\reor\node_modules\vectordb\native.js:26:11)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at Module._load (node:internal/modules/cjs/loader:967:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (C:\Users\manas\Open source\reor\node_modules\vectordb\dist\query.js:19:25)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)

I have followed the contributing guide as well as lancedb-error guide.

Desktop (please complete the following information):

  • OS: Win11 22H2 22621.4037
  • Hardware: AMD Ryzen 7 5700U with Radeon Graphics
  • Version
@joseplayero
Copy link
Collaborator

joseplayero commented Aug 19, 2024

did you see an error with doing any of/both of these two things:

This is happening because LanceDB requires some C++ libraries to be installed on your system. To fix, please download and run the following: MSVS C++ redist.

Alternatively, you can install the same libraries by installing the Visual Studio Build Tools. (This is a slightly larger install the MSVS).

and are you by any chance on an ARM machine?

@Manas-Kenge
Copy link
Author

Hey, thanks for your concern. I have downloaded MSVS C++ redist but it still didn't work and no I have x64 machine.

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

2 participants