pollfish / cordova-plugin-pollfish

MIT License
3 stars 5 forks source link

Installation issue #4

Open kalimulhaq opened 6 years ago

kalimulhaq commented 6 years ago

When I'm trying to install this plugin using

cordova plugin add https://github.com/pollfish/cordova-plugin-pollfish.git

It throws following issue

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to fetch plugin https://github.com/pollfish/cordova-plugin-pollfish.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Failed to get absolute path to installed module

The installation should be on key base rather than the full git path

cordova plugin add cordova-plugin-pollfish

kalimulhaq commented 6 years ago

I resolved the Issue by added this repo to npm registry here is the link https://www.npmjs.com/package/com.pollfish.cordova Now it can be simply install using package key like

cordova plugin add com.pollfish.cordova