Closed Samseppiol closed 5 years ago
Local package.json exists, but node_modules missing, did you mean to install?
I've never had this issue in development, I'm assuming because I'm individually installing packages as I go I must be explicitly calling the npm install
that it needs, it'll be a missing command in one of the docker
related files. I'll patch this ASAP. Cheers!
EDIT: For context, https://github.com/angular/quickstart/issues/420
@Samseppiol Can you run docker-compose up --build
for me from the root directory? I think it's an issue with the make up
command, because make up
will up bring the cluster up, it won't build the containers as well.
@JohnVonNeumann Does not work either, seems to be something to do with how node modules are being handled. Funnily enough if I shell into the container and run the same command npm run dev
then I do not get this issue
@Samseppiol So don't quote me on this, but I think this issue is a symptom of a bad docker setup created by me, I'm working on a ticket at the moment that is seeing issues around this, so I'll be having to fix this fairly soon in the natural progression of work. I think basically it's an issue around my use of individual dockerfiles, combined with docker-compose. I'm referencing/overwriting volumes and it's acting weird (acting as intended from the docker side of things, my mental model of how it works is what is broken).
Can you please pull master and let me know if this is still an issue? Some changes have been made over the last few days and I'm struggling to replicate now. @Samseppiol
I think this may have been fixed with #41
Fixed by #43
When running 'make up', at container runtime the frontend container fails to start with the following error.