Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics Getting Started with Express Adding Multiple Routes to the App

shay r
shay r
11,337 Points

"app crashed -waiting for file changes before starting" Help!

Hello Community,

When I run 'nodemon' in the command prompt window (for running/restarting the server) I get the error message : app crashed -waiting for file changes before starting

any ideas on how to fix this?

You'll have to post your code if you want help :)

2 Answers

shay r
shay r
11,337 Points

Hi guys, thanks for your help , this is now resolved, I found that I had missed writing ' => ' in the arrow function.

Adam Beer
Adam Beer
11,314 Points

Try this : npm install. What's happened now if you use the nodemon?

Hi Adam, I am having the same issue and tried the npm install but still not able to use nodemon. Is there any other way?