an-rahulpandey / cordova-plugin-dbcopy

Copy SQLite Database from www folder to default app database location
Apache License 2.0
89 stars 48 forks source link

Installation Failed to fetch plugin #48

Closed FatehiAlqadasi closed 7 years ago

FatehiAlqadasi commented 7 years ago

I tried to install it on windows via npm but igot the following error

Error: Failed to fetch plugin https://github.com/an-rahulpandey/cordova-plugin-dbcopy.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! code ENOGIT npm ERR! No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\prodigy\AppData\Roaming\npm-cache_logs\2017-08-22T13_22_53_304Z-debug.log

FatehiAlqadasi commented 7 years ago

The error because i tried to install it by using the following command cordova plugin add https://github.com/an-rahulpandey/cordova-plugin-dbcopy.git But when I used cordova plugin add cordova-plugin-dbcopy It worked fine