ostownsville / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
21 stars 17 forks source link

Cannot install plugin #38

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi there,

Installing the plugin through Terminal cordova plugin add https://github.com/ostownsville/cordova-plugin-fcm.git

Gives me the following error message:

(node:36186) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch plugin https://github.com/ostownsville/cordova-plugin-fcm.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! code 1
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/ostownsville/cordova-plugin-fcm.git /Users/martin/.npm/_cacache/tmp/git-clone-4377f31a
npm ERR! /Users/martin/.npm/_cacache/tmp/git-clone-4377f31a/.git: Permission denied
npm ERR! 

Also tried to download the ZIP through Github, download aborts at 99,9%. Tried it a couple of times. My Internet Connection works perfect.

Please advise?