'sh' is not recognized as an internal or external command
После запуска скрипта через VSCode получаю следующую ошибку, как мне это исправить ?
sh -ac 'if test "$TESTS_ENV"; then cp environments/env.${TESTS_ENV}.json.template environments/env.json; fi'
'sh' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] config: `sh -ac 'if test "$TESTS_ENV"; then cp environments/env.${TESTS_ENV}.json.template environments/env.json; fi'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] config script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vladi\AppData\Roaming\npm-cache\_logs\2021-07-26T08_22_50_909Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:chrome:ui: `cross-env TESTS_ENV=ui npm run config && ./node_modules/.bin/wdio config/wdio.chrome.conf.js --spec ./test/specs/books/deleteBookPartsAndChapters.spec.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test:chrome:ui script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
"test:chrome:ui": "cross-env TESTS_ENV=ui npm run config && ./node_modules/.bin/wdio config/wdio.chrome.conf.js --spec ./test/specs/books/deleteBookPartsAndChapters.spec.js"