pautobot
pautobot copied to clipboard
frontend-dist not found in package pautobot. Please run: bash build_frontend.sh
So I ran this in git bash for windows and it didn't help.
Also, when I run the development side, I get this..
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module: ./components/RightSidebar.js ./pages/index.js
- wait compiling /_error (client and server)...
- error ./components/ContextManager.js:3:0 Module not found: Can't resolve '@lib/requests/history' 1 | import { toast } from "react-toastify"; 2 |
3 | import { clearChatHistory } from "@lib/requests/history"; 4 | import { ingestData } from "@/lib/requests/documents"; 5 | 6 | export default function ModelSelector() {
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module: ./components/RightSidebar.js ./pages/index.js
Hi! You need to install dependencies for frontend first:
- Requirement: NodeJS >= 18.
cd frontend
npm install
I did that already. I did it again and still the same error. No errors found.
https://i.imgur.com/2AJCdBw.png
https://i.imgur.com/exl2rQ4.png
@LanceLake Please pull the latest code from main branch and try again.
Ran pip install -e . No issues when run.
Ran python -m pautobot.app got frontend-dist not found in package pautobot. Please run: bash build_frontend.sh
Ran npm install Ran npm run dev
Same issue and same error when I try to go to the page.
So basically, no change at all. Yes, I did a fresh pull.
FWIW I'm getting the same thing on my MacBook Pro
node 19.8.1 npm 9.5.1 python 3.11.3
@LanceLake Lan @DevonWieczorek
Please pull the code from main and try again.
This bug is because lib folder was excluded by git.
Thank you!
Working..
Well, I'm still getting "frontend-dist not found in package pautobot. Please run: bash build_frontend.sh" when going to localhost:5678, but at least 3000 is giving me the interface.