Open utkzas opened 4 years ago
please help me, this was my first app using MERN
Make sure that you have run npm install in the backend and in the main folder.
Hi utkzas - did that resolve the issue?- Im getting the same error and here are the my versions: - Can anybody please help - thanks
PS C:\Users\sampa\mern-excercise> nodemon server
[nodemon] 2.0.4
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting react-scripts start server
'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
[nodemon] app crashed - waiting for file changes before starting...
Hello @sampathracherla
The folder you are accessing is PS C:\Users\sampa\mern-excercise>
which is not your backend folder.
Try doing cd backend
and then run nodemon server
Regards Utkarsh Sharma
I am creating a MERN Stack App and when I run
nodemon server
, i get this errorC:\Users\utkarsh\chaiDB\mern-chaicoffeebiscuit>nodemon server [nodemon] 2.0.2 [nodemon] to restart at any time, enter
rs[nodemon] watching dir(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] starting
react-scripts start server'react-scripts' is not recognized as an internal or external command, operable program or batch file. [nodemon] app crashed - waiting for file changes before starting...
It worked succesfully until i started to work on the frontend using reactJS. Now I have the full app completed. but the mongoDB server does not run now. I have already tried commands like
npm install react-scripts --save
but still, i see the same error. I even reinstalled my Windows 8.1 (i loved the project by my heart and wanted to complete it)