-
Notifications
You must be signed in to change notification settings - Fork 1k
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
RuntimeError: Directory 'ui' does not exist #71
Comments
I met the same problem, I don't know how to fix it. |
If your node version is too low, it will report an error and cannot be packaged. I also encountered the same problem, and he told me that the version is too low |
You have to run npm install
npm run build inside the web directory to build the |
You can first set up locally, upload the UI folder to the server after successful compilation, and then execute BACKEND=BING python search_with_lepton.py! |
▲ Next.js 14.0.4 ✓ Creating an optimized production build ./src/app/components/answer.tsx ./src/app/components/preset-query.tsx ./src/app/components/result.tsx ./src/app/components/sources.tsx info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules |
python run search_with_lepton . exception
File "search_with_lepton\search_with_lepton.py", line 632, in ui
return StaticFiles(directory="ui")
File "Local\Programs\Python\Python310\lib\site-packages\starlette\staticfiles.py", line 59, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'ui' does not exist
The text was updated successfully, but these errors were encountered: