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 trialbnywa
1,266 PointsAfter installing the body parser nodemon is running my index.js file rather than the app.js file used in the tutorial
my main in package.json = "main": "app.js" Any suggestions on how to correct the file which nodemon is starting?
Kenneth Kim
3,795 PointsKenneth Kim
3,795 PointsHi. Check your file strcuture in the text editor that you are using. Also check your current directory location in the console. Be sure your still at the flashcards directory. stop the server and try running these again in the console:
Let me know if you fix it :)