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 (2015) Developing Express Apps Like a Boss Easily Debug Express (and other node apps)

Rahmat Abdhir
Rahmat Abdhir
15,198 Points

Cannot run src/app after installing nodeman and node-inspector. Getting system cannot find the path specified.

Please help!!. My "src/app.js" is in the current branch. Apparently nodeman is not searching for c:\apps\projects\treehouse\express-basics where the "src/app.js" is located.

C:\apps\Projects\treehouse\express-basics [easilyDebugExpress ≡ +1 ~1 -0 !]> ls src

Directory: C:\apps\Projects\treehouse\express-basics\src

Mode LastWriteTime Length Name

d----- 6/18/2016 6:58 AM mock -a---- 6/18/2016 7:13 AM 365 app.js

C:\apps\Projects\treehouse\express-basics [easilyDebugExpress ≡ +1 ~1 -0 !]> C:\apps\Projects\treehouse\express-basics [easilyDebugExpress ≡ +1 ~1 -0 !]> nodeman src/app The system cannot find the path specified. C:\apps\Projects\treehouse\express-basics [easilyDebugExpress ≡ +1 ~1 -0 !]> npm run src/app.js npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "src/app.js" npm ERR! node v4.4.5 npm ERR! npm v2.15.5

npm ERR! missing script: src/app.js npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! C:\apps\Projects\treehouse\express-basics\npm-debug.log C:\apps\Projects\treehouse\express-basics [easilyDebugExpress ≡ +1 ~1 -0 !]> echo %PATH%