# Error while installing cordova-sqlite-storage

**URL:** <https://forum.ionicframework.com/t/error-while-installing-cordova-sqlite-storage/165309>\
**Category:** Ionic Native\
**Created:** [June 2, 2019, 12:46am UTC](https://forum.ionicframework.com/t/error-while-installing-cordova-sqlite-storage/165309 "2019-06-02T00:46:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rshivarkar](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@rshivarkar](https://forum.ionicframework.com/u/rshivarkar)\
**Post date:** [June 2, 2019, 12:46am UTC](https://forum.ionicframework.com/t/error-while-installing-cordova-sqlite-storage/165309/1 "2019-06-02T00:46:46Z")

</div>

My command =\> ionic cordova plugin add cordova-sqlite-storage --save

Cordova version : 9.0.0 (cordova-lib@9.0.1)

Error:

> ionic cordova plugin add cordova-sqlite-storage --save  
> cordova plugin add cordova-sqlite-storage --save  
> Installing “cordova-sqlite-storage” for android  
> installing external dependencies via npm  
> for package name: cordova-sqlite-storage  
> npm install of external dependencies ok  
> Unable to load PlatformApi from platform. Error: Cannot find module ‘properties-parser’  
> Failed to install ‘cordova-sqlite-storage’: Error [ERR\_UNHANDLED\_ERROR]: Unhandled error. (The platform “android” does not appear to be a valid cordova platform. It is missing API.js. android not supported.)  
> at CordovaEventEmitter.emit (events.js:178:17)  
> at CordovaEventEmitter.emit (C:\Users\shivarkr\AppData\Roaming\npm\node\_modules\cordova\node\_modules\cordova-common\src\events.js:69:22)  
> at Object.getPlatformApiFunction (C:\Users\shivarkr\AppData\Roaming\npm\node\_modules\cordova\node\_modules\cordova-lib\src\cordova\util.js:384:20)  
> at Object.getPlatformApi (C:\Users\shivarkr\AppData\Roaming\npm\node\_modules\cordova\node\_modules\cordova-lib\src\platforms\platforms.js:55:32)  
> at handleInstall (C:\Users\shivarkr\AppData\Roaming\npm\node\_modules\cordova\node\_modules\cordova-lib\src\plugman\install.js:580:29)  
> at C:\Users\shivarkr\AppData\Roaming\npm\node\_modules\cordova\node\_modules\cordova-lib\src\plugman\install.js:349:28  
> at process.\_tickCallback (internal/process/next\_tick.js:68:7)  
> Unhandled error. (The platform “android” does not appear to be a valid cordova platform. It is missing API.js. android not supported.)

---

<div class="post-metadata">

**Author:** ![John1379](https://avatars.discourse-cdn.com/v4/letter/j/8baadc/32.png) [@John1379](https://forum.ionicframework.com/u/John1379)\
**Post date:** [April 6, 2020, 11:09am UTC](https://forum.ionicframework.com/t/error-while-installing-cordova-sqlite-storage/165309/2 "2020-04-06T11:09:21Z")

</div>

wait sir i have to check it … will get back to you soon…[mywegmansconnect](https://www.mywegmansconnect.site/)

---

<div class="post-metadata">

**Author:** ![erkinalan](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/erkinalan/32/131643_2.png) [@erkinalan](https://forum.ionicframework.com/u/erkinalan)\
**Post date:** [April 6, 2020, 1:57pm UTC](https://forum.ionicframework.com/t/error-while-installing-cordova-sqlite-storage/165309/3 "2020-04-06T13:57:20Z")

</div>

Hi,

Remove the plugin, after that try use this command : `cordova clean`

After the command try download the plugin again.
