reor icon indicating copy to clipboard operation
reor copied to clipboard

Cannot setup reor locally

Open Manas-Kenge opened this issue 1 year ago • 2 comments

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

Manas-Kenge avatar Aug 18 '24 19:08 Manas-Kenge

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?

joseplayero avatar Aug 19 '24 21:08 joseplayero

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

Manas-Kenge avatar Aug 20 '24 14:08 Manas-Kenge