-
Notifications
You must be signed in to change notification settings - Fork 146
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
Unable to build frontend when Arches is installed with poetry, pipenv or uv #11764
Comments
danbentley
added a commit
to danbentley/arches
that referenced
this issue
Feb 4, 2025
Resolves archesproject#11764 The convention of naming a virtual environment "`.venv`" appears to have been adopted by the above package managers. The fix addresses the issue of templates in directories that contain a dot (specifically for Arches installed with the above package managers) while ensuring that dotfiles, such as macOS' .DS_Store (archesproject#11094), are ignored.
8 tasks
danbentley
added a commit
to danbentley/arches
that referenced
this issue
Feb 4, 2025
Resolves archesproject#11764 The convention of naming a virtual environment "`.venv`" appears to have been adopted by the above package managers. The fix addresses the issue of templates in directories that contain a dot (specifically for Arches installed with the above package managers) while ensuring that dotfiles, such as macOS' .DS_Store (archesproject#11094), are ignored.
rayondemiel
pushed a commit
to rayondemiel/arches
that referenced
this issue
Mar 18, 2025
Resolves archesproject#11764 The convention of naming a virtual environment "`.venv`" appears to have been adopted by the above package managers. The fix addresses the issue of templates in directories that contain a dot (specifically for Arches installed with the above package managers) while ensuring that dotfiles, such as macOS' .DS_Store (archesproject#11094), are ignored.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When loading templates from the Django server, the path lookup utility function ignores any path containing a dot (#11094).
This has the unintended side effect of preventing frontend build scripts from locating JavaScript files stored within an Arches instance installed in a
.venv
directory, which is favoured by the following Python dependency managers:If Arches is installed in a virtual environment containing a dot,
npm run build_development
fails with the following error:This can be remedied by amending the check for a dotfile, allowing us to skip dot files (such as
.DS_Store
), while allowing files held within a directory containing a dot:The text was updated successfully, but these errors were encountered: