rsrohan99 / local-pdf-ai

Local Chat-with-pdf app with preview feature using LlamaIndex, Ollama & NextJS
57 stars 15 forks source link

How to run the project #1

Open konglw2023 opened 5 months ago

konglw2023 commented 5 months ago

Hello, I am very interested in your project, but I'm not familiar with nextjs, so, I want to know the detail process to run the project, could you help me? Thanks a lot.

jprobichaud commented 1 month ago

What I did was:

cd local-pdf-ai
npm install
npm run dev

it seems that npm run build which is supposed to build and run the release version fails with:

Failed to compile.

./node_modules/llamaindex/dist/llm/anthropic.js + 19 modules
Cannot get final name for export 'getRuntime' of ./node_modules/llamaindex/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.mjs

> Build failed because of webpack errors
- info Creating an optimized production build