nodemon ''mocha' is not recognized as an internal or external command, operable program or batch file
问题 Running a test for a nodejs project on windows 10 with the line in package.json as: "test": "nodemon --exec 'mocha -R min'" I get: > nodemon --exec 'mocha -R min' [nodemon] 1.11.0 [nodemon] to restart at any time, enter `rs` [nodemon] watching: *.* [nodemon] starting `'mocha -R min'` ''mocha' is not recognized as an internal or external command, operable program or batch file. [nodemon] app crashed - waiting for file changes before starting... rs [nodemon] starting `'mocha -R min'` ''mocha'