scandipwa / magento-docker

Docker environment dedicated for ScandiPWA theme development
https://scandipwa.com/
Open Software License 3.0
105 stars 314 forks source link

Error when docker start frontend environment #59

Closed niteco-scandipwa closed 4 years ago

niteco-scandipwa commented 4 years ago

Describe the bug When I run command: docker-compose -f docker-compose.yml -f docker-compose.ssl.yml -f docker-compose.frontend.yml up -d

docker-compose -f docker-compose.yml -f docker-compose.ssl.yml -f docker-compose.frontend.yml logs -f frontend

Response is: Screenshot from 2020-02-04 17-47-05

alfredsgenkins commented 4 years ago

Can you please see above for the reason of pm2 not being installed? :) I mean it is not installing it for a reason. Scroll up.

niteco-scandipwa commented 4 years ago

Scroll up here: Screenshot from 2020-02-05 09-54-23

alfredsgenkins commented 4 years ago

Aha, yes!

I was out of context that we are speaking about frontend container :)

This can be solved easily, while first, please check the app container logs, why has not he comiled a theme? Are there any errors?

To resolve this issue, please do following:

  1. Go to application (app) container,
  2. Go to app/design/frontend/Scandiweb/pwa.
  3. Run npm ci
  4. Exit,
  5. Restart Frontend.
niteco-scandipwa commented 4 years ago

Thank you very much :D