-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
node v11 | node-gyp | libxmljs.o error npm #265
Comments
Because the dependency libxml-xsd is not active maintained which cannot be compiled on node version higher than 10 😑. |
@tngan, by default, NPM is fetching optional dependencies. It simply does not complain in case they cannot be fetched (or compiled). Could it be possible to use peer dependencies instead? So users could have the choice to install xml-encryption, libxml-xsd or node-xmllint, without having NPM downloading (and compiling) all of them. |
Having this same issue... how has everyone else fixed it? |
You can just ignore it 😋. Since there is a compilation error during installation, it is only one of several optional dependencies that do not affect base functionality. It will fallback to an alternative which implemented with pure JavaScript. |
@tngan is it suitable for you to proceed like that ? Thanks |
@AngelMsger @virginc @feugy @matth-c3 Let's continue the discussion in #274. |
Please try the latest v2.6.0-rc1, we have a new implementation on how to make use of validator module. |
v2.6.0 is released on npm. Feel free to reopen if needed. |
Hello,
There is an error during the installation of samlify on node v11 on libxmljs.o. Not sure if it was reported already.
Thanks
The text was updated successfully, but these errors were encountered: