I have this problem during installation of ionic cordova:
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Please anyone helpme
Here, I worked in redux-Saga and try to install npm in my directory. At that time I found this error. I have solved this error by below command,
Run this command in cmd:
npm install browserify babelify babel-preset-env
You need to update your minimatch version Follow these steps:
Run this command to update minimatch
$ npm update minimatch
Run this command to check minimatch version
$ npm -v minimatch
If the version is still old one Run this command
$ npm install -g npm@3
Check your version again
$ npm -v minimatch
I fixed this error by deinstalling nodejs v4.x (64-bit) and installing the latest nodejs v6.3.0 (32-bit). after that i installed cordova with 'npm install -g cordova' I use a windows machine. I hope this helps anyone :-)
Before that i deleted all my node_modules npm and npm-cache folders in my home directory and appdata -> roaming directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With