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 trialkingsley Emeka
Full Stack JavaScript Techdegree Graduate 18,238 PointsNodemon not working
Nodemon not working when typed into the terminal even after installing it with npm install-g nodemon. Below is what my package.json file look like
{ "name": "flashcards", "version": "1.0.0", "description": "A flashcard app", "main": "app.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Sam", "license": "MIT", "dependencies": { "express": "^4.15.2" } }
2 Answers
Luke Pettway
16,593 PointsWhat is the full command you are specifying? Typically you would pass in a command like so: nodemon ./server.js localhost 8080
which tells nodemon which script to load, and which host/port to use. Are you getting any errors?
Mark Warren
19,252 PointsThanks Luke! I used
```html
nodemon .app.js localhost 3000
```
for the purposes of this exercise
kingsley Emeka
Full Stack JavaScript Techdegree Graduate 18,238 Pointskingsley Emeka
Full Stack JavaScript Techdegree Graduate 18,238 PointsThanks, I already solved the problem by searching for a similar issue on Stack Overflow.