Add cordova plugin


#1

Hi… I’m new to ionic.I’m trying to build a crud application using sqlite.

versions I use

ionic 1.4.0
cordova 7.0.1
node v4.2.6

When i try to add cordova plugin using

it gives this error…

Error: Failed to fetch plugin https://github.com/litehelpers/Cordova-sqlite-storage.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! git rev-list -n1 master: fatal: ambiguous argument ‘master’: unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 master: Use ‘–’ to separate paths from revisions, like this:
npm ERR! git rev-list -n1 master: 'git […] – […]'
npm ERR! git rev-list -n1 master:
npm ERR! Linux 4.8.0-52-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “install” “https://github.com/litehelpers/Cordova-sqlite-storage.git” "–save"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code 128

npm ERR! Command failed: git rev-list -n1 master
npm ERR! fatal: ambiguous argument ‘master’: unknown revision or path not in the working tree.
npm ERR! Use ‘–’ to separate paths from revisions, like this:
npm ERR! 'git […] – […]'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/catt/myApps/mine/myApp6/node_modules/npm-debug.log

Can anyone help me to correct this?