sh: react-scripts: command not found


Do run PATH=$PATH:./node_modules/.bin npm start.
Install the package in the global npm install -g react-scripts or yarn global react-scripts. Then, it can be executed without setting environment (PATH=$PATH:...).
I do not know if this is the answer you want. :smile:
I have fixed it with your answer. I appreciate your help.
it appears
run npm audit fix
to fix them, ornpm audit` for details
whenever npm install Could you tell me the answer to this problem?
@wmgstar Sorry.. I don't understand your question.
Can I tell you easily because I am not good at English?

It appears this problem whenever I run npm install each projects.

https://docs.npmjs.com/cli/audit
Scan your project for vulnerabilities and automatically install any compatible updates to vulnerable dependencies
I recommend using the `npm audit fix 'to fix the vulnerability.
I ran the following commands.
npx create-react-app my-app
cd my-app
rm -rf node_modules
npm install
Then this warning appears.
run npm audit fixto fix them, ornpm audit for details
I don't think there is any vulnerability.
I use yarn instead of npm, and I do not have this problem. I recommend using a yarn.
npm install -g yarn
npx create-react-app my-app
cd my-app
rm -rf node_modules
yarn install
Usage is similar to npm.
Thank you!
If all of the necessary parts are resolved, you may close the issue. :smile:
okay