Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions botasaurus_server/botasaurus_server/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def open_browser_in_thread():
def install():
print("Installing frontend...")
frontend_dir = os.path.join(os.getcwd(), "frontend")
subprocess.check_call("npm install && npm run build", shell=True, cwd=frontend_dir)
subprocess.check_call("npm install --legacy-peer-deps && npm run build", shell=True, cwd=frontend_dir)

def print_frontend_run_message():
print("Starting frontend server at http://localhost:3000/")
Expand Down Expand Up @@ -153,4 +153,5 @@ def run():
dd = " ".join(sys.argv[1:])
print(f"Error: No such command: {dd}")
print("Try '--help' for help.")
sys.exit(1)

sys.exit(1)