I'm getting below warning while installing cordova. How I can resolve it?
Please see the image to know what happened when i ran below commands :
npm update [email protected]
npm update -d
A minimal matching utility. This is the matching library used internally by npm. It works by converting glob expressions into JavaScript RegExp objects.
'npm -v minimatch' doesn't display the minimatch version but the version of npm you're actually using. You can try to 'npm -v dslkjfhrslkfhjezfmlhj' and you'll get the same result. An easy way to display your installed packaged and their version is this command : 'npm list -g --depth=0'.
npm update -g [email protected]
Resolved this for me, no sweat, let me know if it doesn't work for you. Looking at your screenshots this is 90%+ likely to fix it, I think.
Looks like [email protected] which is listed in a couple of the cordova packages, has a dependency on [email protected] which has a dependency on [email protected]
This is an example of why npm is the package manager of infinite madness. I still like modern JavaScript, but npm is as dangerous as it is useful, in my opinion.
Following a comment on this GitHub issue,
$ npm update minimatch $ npm -v 2.10.1 $ npm install -g npm@3 /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js [email protected] /usr/local/lib/node_modules/npm $ npm install -g [email protected] /usr/local/lib └─┬ [email protected] └─┬ [email protected] ├── [email protected] └── [email protected] $ npm -v 3.10.5 $npm view minimatch version 3.0.2
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