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:
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.
that it
.
Happy Coding.
osman forhad
Mobile & Web Application Developer💻
Top comments (1)
i have this error i cant find the solution cab u help me