2
votes

Error While Adding Sqlite plugin into Ionic project How to solve this? Thanks in advance

2

2 Answers

2
votes

Dont install like this, use

ionic plugin add cordova-sqlite-storage

Also you need to have installed nodejs globally to allow node-modules to be installed via npm, as seen in their doc

This version uses a before_plugin_install hook to install sqlite3 library dependencies from cordova-sqlite-storage-dependencies via npm.

0
votes

try this

"cordova plugin add cordova-sqlite-storage"