npm install -g mocha --save-dev

аеттестовое задание для проекта nodejs в windows 10 со строкой в ​​package.json как:

"test": "nodemon --exec 'mocha -R min'"

Я получил:

>  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' is not recognized as an internal or external command,
operable program or batch file.
[nodemon] app crashed - waiting for file changes before starting...

Ответы на вопрос(7)

Ваш ответ на вопрос