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 trialguancheng liu
1,582 Pointscmd always show this problems, please help me figure out this problem
events.js:160 throw er; // Unhandled 'error' event ^
Error: spawn cmd ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:359:16) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9)
Juliette Tworsey
Front End Web Development Techdegree Graduate 32,425 PointsHi Guancheng !
I'm not sure at which point you are receiving this error, but have you tried git add . + git commit -m "...." to save your changes from the previous branch before switching to the current branch, ie., git checkout easilyDebugExpress, before installng the nodemon and inspector modules?
Try that and see if it works. It worked for me.
Cheers:-)
guancheng liu
1,582 Pointsguancheng liu
1,582 Pointsevents.js:160 throw er; // Unhandled 'error' event ^
Error: spawn cmd ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:359:16) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9)