Objective:
NPM is a package management tool that is installed with Nodejs to solve many of the problems with NODEJS code deployments, and common usage scenarios include the following:
Allows users to download Third-party packages written by others from the NPM server to local use.
Allows users to download and install other written command-line programs from the NPM server for local use.
Allow users to upload their own packages or command-line programs to the NPM server for others to use.
NPM installs Cordova warning: NPM WARN deprecated minimatch@2.0.10:please Update to Minimatch 3.0.2 or higher to
I. Description of the problem
NPM warns when installing Cordova:
NPM WARN deprecated minimatch@2.0.10:please Update to Minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Ii. Solutions
Upgrade Minimatch to 3.0.2
NPM Update minimatch@3.0.2
NPM update-d
After the upgrade still error, had to reload:
NPM Update Minimatch
Npm-v Minimatch
NPM install-g npm@3
Version upgraded to 3.10.8.
Thank you for reading, I hope to help you, thank you for your support for this site!