Search code examples
reactjsnode-modulespackage.jsonreact-scripts

'react-scripts' is not recognized as an internal or external command, operable program or batch file


I am learning to react. The version I installed is 16. I installed prop-types via npm after I got an error that 'react-scripts' is not recognized as an internal or external command, operable program or batch file."

enter image description here


Solution

  • It is an error about react-scripts file missing in your node modules directory at the time of installation.

    Now, you can add manually this via the command:

    npm install react-scripts