I have my project with a frontend, backend and a database, when I build it with docker when using the docker-compose up –build command I get the following error:
[email protected] start /index
react-scripts start
sh: 1: react-scripts: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-04-26T14_20_34_664Z-debug.log
I have tried everything but I have not been able to find a solution.
user24709342 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.