DEV Community

loading...
Cover image for [nodemon] app crashed - waiting for file changes before starting... solution

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

Osman Forhad
👨‍💻Mobile & Web Application Developer (ReactNative, Nodejs, MongoDB, React, Laravel, Mysql)
Updated on ・1 min read

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💻

Discussion (0)

Forem Open with the Forem app