balavi7 / MERN-Docker-Compose

0 stars 1 forks source link

facing error while building docker images #2

Open yash1nthh opened 2 months ago

yash1nthh commented 2 months ago

encountering a problem when creating front-end and back-end app images especially at the npm install stage Screenshot (1) Screenshot (2)

balavi7 commented 2 months ago

@yash1nthh Make sure your docker container is able to access the internet, go inside your container and run ping and check if your container has internet access.

yash1nthh commented 2 months ago

I can't able to create image for frontend/backend applications it shows error while executing RUN Npm install

balavi7 commented 2 months ago

Try different version of node and check if its working, or install node and npm in your system and try to run npm install in your terminal.