NPM warns when installing Cordova: NPM WARN deprecated minimatch@2.0.10:please Update to Minimatch 3.0.2 or higher to_node.js

Source: Internet
Author: User
Tags deprecated

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.