npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0

Uninstal Ionic and Cordova:

npm uninstall cordova ionic

Then clean cache:

npm cache clean -f

Then install ionic and cordova again:

npm install -g [email protected]
npm install -g [email protected]

Worked for me!


I had the same problem and fixed it by using the following command in the project directory:

npm install

This will install needed packages, so the project can work properly.

See also: