Chrome Cordova Apps - cca create bug

by Stephen Fluin 2014.05.30

Failed to fetch package information for org.apache.cordova.keyboard

If you have experienced this error, you aren't alone. Any projects being created with version v0.0.11 of Chrome Cordova Apps (cca) are now failing to be setup properly.

The change comes from a desynchronization between Cordova's plugin library and the cca tool. This has been fixed by the developers in the latest source code on Github, but not released as part of npm.

The easiest way to get around this bug is to edit

/usr/bin/cca

, and change line 53 from:

'org.apache.cordova.keyboard',

to

'org.apache.cordova.labs.keyboard',

After that, cca should work just fine again, allowing you to create new projects.


permalink