Search
 
SCRIPT & CODE EXAMPLE
 

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"
Comment

PREVIOUS NEXT
Code Example
Shell :: telnet install on mac 
Shell :: git unable to update local ref 
Shell :: count files in directory linux 
Shell :: zsh: command not found: wget 
Shell :: no upgrade brew 
Shell :: uninstall foxit reader ubuntu 18.04 
Shell :: update all chocolatey packages 
Shell :: bash get current ip 
Shell :: pip install sys 
Shell :: php restart 
Shell :: how to delete all branches except master 
Shell :: dotnet build release 
Shell :: find empty files linux 
Shell :: check active ssh connections on linux 
Shell :: wsl ubuntu reboot 
Shell :: install python3-pip ubuntu 
Shell :: Scan new disk in linux 
Shell :: how to delete a package in ubuntu 
Shell :: como actualizar node en ubuntu 
Shell :: pycharm ubuntu 20.04 
Shell :: find large files linux 
Shell :: brew install virtualbox 
Shell :: how to change git remote url 
Shell :: how to install npm in ubuntu 
Shell :: clear bash history 
Shell :: install auth in laravel 8 
Shell :: alacritty ubuntu install 
Shell :: bash date yesterday format 
Shell :: npm command not found ubuntu 
Shell :: download torrent on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =