When running npm run build in the backend/functions folder the error
'rimraf' is not recognized as an internal or external command, operable program or batch file. is thrown. Full error below.
PS D:\Code\Clients\FilledStacks\boxtout\src\backend\functions> npm run build
> functions@ prebuild D:\Code\Clients\FilledStacks\boxtout\src\backend\functions
> npm run clean
> functions@ clean D:\Code\Clients\FilledStacks\boxtout\src\backend\functions
> rimraf lib/
'rimraf' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ clean: `rimraf lib/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ clean 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\User\AppData\Roaming\npm-cache\_logs\2021-02-15T13_29_18_968Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ prebuild: `npm run clean`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ prebuild 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\User\AppData\Roaming\npm-cache\_logs\2021-02-15T13_29_19_034Z-debug.log
When running
npm run build
in thebackend/functions
folder the error'rimraf' is not recognized as an internal or external command, operable program or batch file.
is thrown. Full error below.