Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rm #recognized #internal #command
ADD COMMENT
Topic
Name
8+9 =