If you require to remove cordova and ionic from ubuntu then you uninstall using terminal command. you can uninstall cordova then you can just run bellow command. I added two command one for uninstall cordova and other uninstall ionic framework.
<pre class="prettyprint lang-php">
sudo npm uninstall -g cordova
sudo npm uninstall -g ionic
When i was working in my ionic mobile application on my ubuntu 14.04 system and i try to remove android platform at that time i see bellow error :
Error: Cannot find module 'bplist-parser'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
I also did try to remove all platform directly but i still found this error. I also search on google but i notice this error also phonegap, cordova, node.js etc. at.....
In this post i want to share with you how to set android home environment variable in ubuntu os. when i fatch this issue i tired to solve this issue because when i run my app i always found following error :
The ANDROID_HOME environment variable is not set or it points to a non-existent directory.
You will not be able to perform any build-related operations for Android.
I found above error if i already install android in my ubuntu 14.04 system. But at last i found solution from my senior. First i download my android and and put that on any where that downloaded folder of android .....