adrianhajdin / project_chat_application

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a real time chat application. Covered topics: React.js, Node.js, Express.js, and Socket.io.
https://www.jsmastery.pro
3.98k stars 1.54k forks source link

nodemon not working #106

Open sergioluisfilho opened 1 year ago

sergioluisfilho commented 1 year ago

On server folder, the "start" script is: image

but you don't have nodemon on your dependencies image

Install nodemon as dev dependency with -D flag and change scripts to this: "scripts": { "start": "node index.js", "dev": "nodemon index.js" },

Anisha12311 commented 1 year ago

Run:- npm install nodemon

when I using the "npm install nodemon" the problem is solved. Other wise you can run "npm install -g nodemon".

Matchaer commented 1 year ago

run npm install nodemon

yash1805125 commented 1 year ago

If you want to start with nodemon please install it "npm installl nodemon" then do "npm start", otherwise you can also directly start server by doing "node index.js".

AryanYadav1912 commented 1 year ago

use "npm install nodemon" command in terminal