Cordova-sqlite-storage: Error: Failed to fetch plugin https://github.com/litehelpers/Cordova-sqlite-storage.git via registry.

Created on 25 Aug 2017  路  6Comments  路  Source: storesafe/cordova-sqlite-storage

I'm not sure what is going on here. I'm going save this plugin locally and install from there, however, I thought I'd log this issue. I've managed to install a load of plugins with out any problems so I don't think that it is a connection problem on my side. Anyone else getting these error messages below?

As always, I have used Cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git

This usually works fine, instead, I have managed to install the plugin by cloning it onto my computer and using Cordova plugin add

It's not ideal though.

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: cmd: 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! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "https://github.com/litehelpers/Cordova-sqli
te-storage.git" "--save"
npm ERR! node v7.8.0
npm ERR! npm v4.2.0
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true 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! C:\Users\lemieuxf\AppData\Roamingnpm-cache_logs\2017-08-25T15_11_52_794Z-debug.log

bug-general question doc-todo testing user community help doc-pitfall doc-general

Most helpful comment

Maybe you can try cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git#storage-master

All 6 comments

same here

Maybe you can try cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git#storage-master

Thanks @django-wong, that seems to have done the trick.

Thanks @django-wong thats help me a lot.

Now marked as a documentation bug, thanks @django-wong for the nice solution!

I was able to install the plugin 3 days ago but today I tried to fetch the plugin for my cordova application in IOS and not able to fetch it again even in #storage-master.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iacobliviu picture iacobliviu  路  6Comments

PterPmnta picture PterPmnta  路  4Comments

TommyQu picture TommyQu  路  3Comments

MASP3000 picture MASP3000  路  4Comments

tuanbs picture tuanbs  路  3Comments