-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selenium-webdriver build fails with iojs 3.0.0 but ok with 2.5.0 or with nodejs 0.12.7. #2337
Comments
The problem is in utf-8-validate, which is a dependency of ws and ws is a dependency of selenium. utf-8-validate is a C++ node addon built with NaN 1.8.x. The v8 version of io.js 3.0 brought some breaking C++ API changes that result in the errors. |
Can we just make building outdated native modules show warnings that they are outdated somehow? |
There is no good, non-hacky way to determine what API version an add-on is written for. I'm going to close the issue; it's not an issue with io.js itself and there isn't really anything actionable. |
Even for NAN-based Addons? |
You could hack a blacklist or whitelist into npm or node-gyp but I estimate the chances of getting that accepted upstream are slim. If I were a npm or node-gyp maintainer, I'd reject it because it would be a constant maintenance hassle; unless you baked the whitelist into io.js itself, but that would make it even ickier IMO. |
npm i selenium-webdriver
fails with iojs 3.0.0.
Is this by design?
Just in case: I built it on Windows7 x64 with 32-bit iojs.
32-bit iojs 2.5.0 and 32-bit nodejs 0.12.7 are both ok.
Below just fragment of build log.
The text was updated successfully, but these errors were encountered: