nrl-ai / pautobot

🔥 Your private task assistant with GPT 🔥 (1) Ask questions about your documents. (2) Automate tasks.
150 stars 50 forks source link

frontend-dist not found in package pautobot. Please run: bash build_frontend.sh #19

Open LanceLake opened 1 year ago

LanceLake commented 1 year ago

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

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module: ./components/RightSidebar.js ./pages/index.js

vietanhdev commented 1 year ago

Hi! You need to install dependencies for frontend first:

LanceLake commented 1 year ago

I did that already. I did it again and still the same error. No errors found.

LanceLake commented 1 year ago

https://i.imgur.com/2AJCdBw.png

LanceLake commented 1 year ago

https://i.imgur.com/exl2rQ4.png

vietanhdev commented 1 year ago

@LanceLake Please pull the latest code from main branch and try again.

LanceLake commented 1 year ago

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.

DevonWieczorek commented 1 year ago

FWIW I'm getting the same thing on my MacBook Pro node 19.8.1 npm 9.5.1 python 3.11.3

vietanhdev commented 1 year ago

@LanceLake Lan @DevonWieczorek Please pull the code from main and try again. This bug is because lib folder was excluded by git. Thank you!

LanceLake commented 1 year ago

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.