FilledStacks / boxtout

An open source food delivery product and service that will be developed on the FilledStacks YouTube channel
MIT License
416 stars 167 forks source link

rimraf is not recognized as an internal or external command #13

Closed FilledStacks closed 3 years ago

FilledStacks commented 3 years ago

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
FilledStacks commented 3 years ago

This happened because I'm actually kind of an idiot.

I just had to run npm install