EddyVerbruggen / SocialSharing-PhoneGap-Plugin

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget
MIT License
1.78k stars 907 forks source link

unable to add plugin #852

Open ekoarr opened 7 years ago

ekoarr commented 7 years ago

I am trying to SocialSharing-PhoneGap-Plugin and tried following command : cordova plugin add SocialSharing-PhoneGap-Plugin cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git but It gives me same error :

Error: Failed to fetch plugin cordova-plugin-x-socialsharing via registry. Probably this is either a connection problem, or plugin spec is incorrect. ........

Dineshrajaa commented 7 years ago

Please try this

cordova plugin add cordova-plugin-x-socialsharing

sebasnavarrete commented 6 years ago

I have the same issue when i try 'cordova plugin add cordova-plugin-x-socialsharing' Error message: Error: Failed to fetch plugin git+https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git via git. Either there is a connection problems, or plugin spec is incorrect: Error: git: Command failed with exit code 128 Error output: Cloning into '/var/folders/1_/kpcm4zq90qj14_1pxy0n4jh40000gn/T/git/1500490887357'... fatal: Unable to find remote helper for 'git+https'

KinG-InFeT commented 6 years ago

i have a same error +1

sebasnavarrete commented 6 years ago

Hi @KinG-InFeT I could solve it by specifying the version. cordova plugin add cordova-plugin-x-socialsharing@5.1.8 I hope it helps you.

webjoaoneto commented 6 years ago

Nice @sebasnavarrete saved my day xD

sido420 commented 6 years ago

same issue .. however a newer release also works the same as suggested above

cordova plugin add cordova-plugin-x-socialsharing@5.3.0
Priyanka4010 commented 6 years ago

hi @sebasnavarrete @sido420, i have same isuue still there, please help.

sebasnavarrete commented 6 years ago

Hi @Priyanka4010 I could solve it by specifying the version. cordova plugin add cordova-plugin-x-socialsharing@5.1.8 I hope it helps you.

WolfWalter commented 6 years ago

I got rid of the error by forking the repo and renaming it to cordova-plugin-x-socialsharing.