I have created a fresh ionic 3 application and tried to install https://github.com/apache/cordova-plugin-network-information
plugin to the application. I executed below command:
ionic cordova plugin add https://github.com/apache/cordova-plugin-network-information.git
This didn't install the plugin. Instead, it shows
(node:14784) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch plugin https://github.com/apache/cordova-plugin-network-information.git via registry. Probably this is either a connection problem, or plugin spec is incorrect.
Any idea? or suggestions what's going on? I have tried installing other native plugins like device plugin has the same issue.
ionic cordova plugin add cordova-plugin-network-information
? - BShaps