Cannot find module for a node js app running in a docker compose environment

If your Dockerfile and package.json files are correct and still have the issue:

  1. Make sure you’ve rebuilt your container images.

  2. Try

docker-compose down -v

before starting the containers again with docker-compose up.

This removes all volumes.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)