Answers for "rm is not recognized as internal command"

2

rm is not recognized as internal command

rm is only meant to be used in UNIX systems. If you see that issue on Windows,
then you either need to run your command through Git Bash 
or just install the following npm library:

************************************
npm install --save-dev rimraf mkdirp
************************************

Make sure you then replace the UNIX parts like the examples bellow:

before:
"build": "rm -rf ./build && mkdir ./build && babel -d ./build ./src"

after:
"build": "rimraf ./build && mkdirp ./build && babel -d ./build ./src"
Posted by: Guest on October-10-2021

Code answers related to "rm is not recognized as internal command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language