I\'ve got a maven project, within which is JavaScript project cloned as a git sub-module. So the directory structure looks something like
mavenapp/src/main/jav
If react-scripts is present in package.json
If you see something like this "react-scripts": "2.1.3" in your pakage.json file then just type this command
npm install
If react-scripts is not present in package.json
If there is nothing like "react-scripts" in your package.json file then probably you have not installed it.To do that type the following command and you will be all set
npm install react-scripts --save