pashpashpash / vault-ai

OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
https://vault.pash.city
MIT License
3.28k stars 307 forks source link

Error - MODULE_NOT_FOUND #47

Open sandyrs9421 opened 1 year ago

sandyrs9421 commented 1 year ago

When i run command npm run dev i am getting below error.

FBT@pcadmins-MacBook-Pro vault-ai % sudo npm run dev

vault-web-server@1.0.0 dev webpack --progress --watch

[webpack-cli] Failed to load '/Users/FBT/Desktop/Projects/Chatdoc/vault-ai/webpack.config.js' config [webpack-cli] Error: Cannot find module 'os-browserify/browser' Require stack:

can anyone please suggest on how to resolve this error ?

sandyrs9421 commented 1 year ago

got the solution for it looks like it was issue with node version . i ran below command and installed with correct version.

Post which it is working as expected.

Command - sudo rm -rf node_modules && npm install miller-rabin@1.1.1 --save-peer && npm install