DEV Community

Discussion on: Error: [nodemon] app crashed - waiting for file changes before starting...

Collapse
 
mjswensen profile image
Matt Swensen

Whenever you see Unexpected token < in JSON, you can bet that your code is making a request for some JSON but the server is responding with HTML—which is usually an HTML error page. If you can inspect that HTML response it will probably give you a clue as to what’s going on.