Cordova Plugin not getting installed


Am trying to install the the SQL lite using the following commands but am getting the below error always, Also, i could not install any of the cordova plugins. please help me .
1.ionic cordova plugin add cordova-sqlite-storage
2.npm install --save @ionic-native/sqlite@4

npm ERR! code E400
npm ERR! 400 Bad Request - GET

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Arun\AppData\Roaming\npm-cache_logs\2019-10-01T11_29_48_047Z-debug.log

1 Like

which ionic version?

@gokujy Please find the ionic version and help me.

I am using ionic version 4.12

npm i -g ionic@4.12

try might be work

Sure let me try and update you

If you maked a upgrade maybe that is you problem.
try uninstall ionic and try install again.

npm uninstall -g ionic


npm i -g ionic

Lately, some libraries are running wild when you only update ionic, it happened to me in two occasions last week

@crmontiel and @gokujy

Thanks guys it worked.

I have one more doubt, did you guys used barcode scanner/Qr code scanner before?

Do not forget to mark the post as solved…

Of course I have made 3 apps that use the barcode scanner/Qr code scanner with the lasted version.