I need to uninstall Cordova and Ionic from my machine completely without leaving any references or caches so that when reinstalling I guarantee that all instances are absolutely new.
I would like to know the npm command for this?
I need to uninstall Cordova and Ionic from my machine completely without leaving any references or caches so that when reinstalling I guarantee that all instances are absolutely new.
I would like to know the npm command for this?
Run:
npm uninstall cordova ionic
If you intend to reinstall later, you need to clear the cache:
npm cache clean -f
npm install npm -g
If the problem persists, it is recommended that you uninstall and install the node:
npm uninstall node
apt-get purge npm
apt-get install npm
npm install node -g
The way I work for myself:
npm uninstall -g cordova
npm uninstall -g ionic