Reputation: 427
I am trying to add 'device' plugin to my project and it is failing.
cordova plugin add org.apache.cordova.device --verbose
and I get following log:
Calling plugman.fetch on plugin "org.apache.cordova.device"
Fetching plugin from location "org.apache.cordova.device"...
Error: Error fetching plugin: Error: connect ETIMEDOUT
I don't understand whats the problem. Do I have to add 'local'?I tried but cordova does not understand local.
Any help appreciated.
Upvotes: 1
Views: 2104
Reputation: 8939
Cordova adding plugin using command line tool
Before adding plugins to your application git command line tool is required.
You could download and install git command line for Mac OS X in Git For Mac. For windows, Download Git on For Winows. Then: git clone git://project.url.here
Upvotes: 1