Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Error getting plugin with webworks #429

Open
r-christie opened this issue Dec 8, 2015 · 1 comment
Open

Error getting plugin with webworks #429

r-christie opened this issue Dec 8, 2015 · 1 comment

Comments

@r-christie
Copy link

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

@timwindsor
Copy link
Collaborator

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants