-
Notifications
You must be signed in to change notification settings - Fork 254
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
Cannot compile in Node 10.x on OS X #511
Comments
the same for me |
I was having a similar build issue on OS X and on linux. node v10.3.0 I was able to get this to install correctly using Here was the error on linux (
I should also add, in case it can help solve the issue, that when I repeatedly ran |
Is there any news on this, it still failed for me and the commented "workarounds" don't seem to work. Things work fine with v9 of node, but I need to use v10 for some other things. |
Hrm, the workaround of using |
I am running plain Mac OS with nvm running v10.7.0. $ node -v
v10.7.0
$ npm -v
6.3.0
$ yarn -v
1.9.4 |
Again both cases (and I tried another package.json with the same problem) work with v9 of node. |
I was able to fix the same error for myself on MacOS by switching to an environment where Python 2.7 was the default Python. node-gyp is not compatible with Python 3.x and libxmljs uses node-gyp. |
Installed Python2.7 some errors removed but still got build error with recommendation to install .NET Framework 2.0 SDK, installed and now all is working. |
It seems some of you do not have the required build tools (python2) and use some old one (node-waf was before node-gyp). |
I think we can close the initial issue as it was about libxmljs 0.0.7. |
node uses the environment variable Windows users should do |
The text was updated successfully, but these errors were encountered: