You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Source error: Error: The specified module could not be found.
?\C:\Users\sam\Desktop\vite-ragnote\node_modules@lancedb\vectordb-win32-x64-msvc\index.node
at Object. (C:\Users\sam\Desktop\vite-ragnote\node_modules\vectordb\native.js:26:11)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (C:\Users\sam\Desktop\vite-ragnote\node_modules\vectordb\dist\query.js:28:25)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
The text was updated successfully, but these errors were encountered:
The error indicates a missing native module for 'vectordb'. Ensure the 'vectordb-win32-x64-msvc' package is correctly installed. Verify the following steps:
Check if 'vectordb' and 'vectordb-win32-x64-msvc' are listed in dependencies or optionalDependencies in package.json.
Reinstall the dependencies:
npm install
Ensure the native module is built correctly. If not, rebuild it:
npm rebuild vectordb
Verify the usage in electron/main/database/LanceTableWrapper.ts and other relevant files to ensure correct import paths.
Source error: Error: The specified module could not be found.
?\C:\Users\sam\Desktop\vite-ragnote\node_modules@lancedb\vectordb-win32-x64-msvc\index.node
at Object. (C:\Users\sam\Desktop\vite-ragnote\node_modules\vectordb\native.js:26:11)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (C:\Users\sam\Desktop\vite-ragnote\node_modules\vectordb\dist\query.js:28:25)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
The text was updated successfully, but these errors were encountered: