Open shivam-sharma7 opened 1 month ago
2024-05-08 21:16:42 Error: Cannot find module @rollup/rollup-linux-x64-musl. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try
npm i
again after removing both package-lock.json and node_modules directory. 2024-05-08 21:16:42 at requireWithFriendlyError (/app/node_modules/rollup/dist/native.js:59:9) 2024-05-08 21:16:42
Did you try following the advice in yhe error message?
@preveen-stack many times
Details
I have a docker compose service for mern project and my two services running but
frontend
service container not running because of the following error. I'm attaching my docker compose setup and docker logsservices: frontend: build: context: './client' dockerfile: Dockerfile ports:
backend
backend: build: context: './server' dockerfile: Dockerfile ports:
mongo
mongo: image: mongo ports:
'mongodata:/data/db'
environment:
networks: mern-stack-network:
volumes: mongodata:
Operating system
Windows 11
Scope
?
Module and version
Not applicable.