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"
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter