Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodemon not working #106

Open
sergioluisfilho opened this issue Jan 12, 2023 · 5 comments
Open

nodemon not working #106

sergioluisfilho opened this issue Jan 12, 2023 · 5 comments

Comments

@sergioluisfilho
Copy link

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" },

ayushmukho added a commit to ayushmukho/project_chat_application that referenced this issue Jan 27, 2023
Update the package and run "npm run start" in server
@Anisha12311
Copy link

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
Copy link

run npm install nodemon

@yash1805125
Copy link

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
Copy link

use "npm install nodemon" command in terminal

@Amarjeet325
Copy link

"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"socket.io": "^2.2.0"
}
here nodemon not installed--for installing nodemon--> npm i nodemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants