'react-scripts' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. code example
Example 1: react-scripts is not recognized as an internal command windows
npm i -g react-scripts
Example 2: 'react-scripts' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
yarn upgrade
npm update
Example 3: 'react-scripts' is not recognized as an internal or external command,
"scripts": {
"build-css": "node-sass src/ -o src/",
"build-js": "react-scripts build",
"build": "npm run build-css && npm run build-js",
"start-css": "npm run build-css && npm run build-css -- --watch --recursive",
"start-js": "react-scripts start",
"start": "npm-run-all -p start-css start-js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
Example 4: 'react-scripts' is not recognized as an internal or external command, operable program or batch file. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm install