-
Notifications
You must be signed in to change notification settings - Fork 44
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
Upgrading npm dependencies (just upgrade_node_requirements) makes node
container stop working
#289
Comments
node
container stop workingnode
container stop working
Thank you for reporting this bug. I've pushed up a fix that removes Vite, ESLint, and Stylelint from package.json and instead installs them globally as defined in the Dockerfile for the node service. I want to note that after you run |
I've pushed up two more commits that should fix all the weirdness with having to run |
@epicserve – Great job and great solution(s)! I also like the iterative approach you took to finding the current solution. It feels great to have the npm dependencies outside of the Dockerfile, but you gotta earn it sometimes! I've got a bunch of thoughts I want to run by you and find a way to possibly pool our resources! I've been using Docker forever, but this is the first time I've found pytest to actually be performant during development (via I've got a couple of small PRs to send over too! |
How to reproduce the issue.
just start
The above command fails with:
One potential solution
All I could find to resolve this error was to prefix the
vite
command in package.json withnpx
:I'd submit a PR, but wasn't sure it was inline with how you would solve it. Very interested in your thoughts! This is an AMAZING project, by the way. 👍👍👍
A non-code solution
This might be akin to saying "don't end up here", but...
docker ps -a | grep "django-base-site" | awk '{print $1}' | xargs docker rm
docker volume ls | grep "django-base-site" | grep "node_data" | awk '{print $2}' | xargs docker volume rm
just start
The text was updated successfully, but these errors were encountered: