Open r-christie opened 8 years ago
cordova-plugin-preventsleep is on NPM, not the old cordova registry. WebWorks 2.2 is quite old now and doesn't know about the move to NPM for plugins. There's a bunch of details on that here: http://devblog.blackberry.com/2015/09/cordova-5-x-for-blackberry-10/
If you want the right plugin for WebWorks 2.2, without going through an update of your environment, use "com.blackberry.display". That's the version that was posted to the cordova registry.
Note that while the registry is still live at this time, it's well past it's planned shut down, and could be gone at any point now.
When using webworks plugin add cordova-plugin-preventsleep
I get the error: { [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo' }
I'm using webworks 2.2, the proxy settings are set up correctly, and other plugins appear to install correctly