Skip to content

[Bug]: parallax run failed if run command not in parallax folder #114

@gufengc

Description

@gufengc

Steps to Reproduce

  1. cd ~
  2. parallax run

Expected Behavior

N/A

Actual Behavior

Traceback (most recent call last):
File "/Users/gu/gradient/parallax/src/backend/main.py", line 125, in
app.mount("/", StaticFiles(directory="src/frontend/dist", html=True), name="static")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/gu/.local/lib/python3.11/site-packages/starlette/staticfiles.py", line 56, in init
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'src/frontend/dist' does not exist
Oct 20 11:18:26.459 [ERROR ] cli.py:99 Command failed with exit code 1

Version

main

Environment & Context

  • I'm using the latest version.
  • I have searched existing issues.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions