DEV Community

Cover image for [nodemon] app crashed - waiting for file changes before starting (solution)
Osman Forhad
Osman Forhad

Posted on • Edited on

2

[nodemon] app crashed - waiting for file changes before starting (solution)

as a newbie developer in node js platform we face :[nodemon] app crashed - waiting for file changes before starting... error is so many times and this is the most common mistake in node js it happened also with me. so now today we will see why it will happen.

[nodemon] app crashed - waiting for file changes before starting..

this type of error basically happens if we import the wrong packages or mistake in the type in packages names spelling like Folder or File
and our terminal is always indicated to us where is the problem. please see the terminal carefully. it will look like the below screenshot. here I marked the notification which given me by my terminal and finally I understand what was my mistake.

please see the below screen shot:
Alt Text
after seeing this I go to my index.js file and correct my spelling mistake in the file name.
after that my node app is working nicely here is my screenshot.
Alt Text
that it
.
Happy Coding.
osman forhad
Mobile & Web Application Developer💻

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (1)

Collapse
 
habibchamakhi profile image
habibchamakhi

Image description
i have this error i cant find the solution cab u help me

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay