-
Notifications
You must be signed in to change notification settings - Fork 29
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
Module installation fails on Mac (macOS 10.13.4) after upgrade to node v10.0.0 and npm v6.0.0 #24
Comments
Changing
to
in src/XpcConnection.cpp helped, but not sure if this is actually the right way to fix that |
Hey I am also facing the same issue... have you tried to degrade the node version back to 9 or 8? |
Downgrading node seems to work.
(There's no |
Thanks it doesn't work with node@8 but somehow I managed to get it with node@6.. |
Got the same error with node 10.0.0/ macOS 10.13.4 |
@mailgpa how did you build xpc-connection after changing line 143 in src/XpcConnection.cpp? |
|
@mailgpa: Thank you. |
Solution used : installed node.js recommended version: |
PR #26 upgraded to node 10 |
I can confirm that the pull request #26 by @taoyuan fixes the problem on Node 10. To workaround the problem you can use this in your {
"dependencies": {
"xpc-connection": "sandeepmistry/node-xpc-connection#26/head"
},
"resolutions": {
"xpc-connection": "sandeepmistry/node-xpc-connection#26/head"
}
} |
For me a slightly modification of @IjzerenHein snippet work:
|
Where is located package.json in order to add these lines? when I try to install xpc-connection I receive this error: |
Any news on this? |
Still hitting this on 10 |
hey, is this thing on? (taps mic) ... upgrading to node 10 seems to still break xpc-connection |
here's how I got it to install in the meantime: npm install git://github.com/taoyuan/node-xpc-connection.git This circumvents this repository entirely and uses a fixed repo by @taoyuan |
also hit this problem on Linux and MacOs, node v10.6.0 and v10.7.0 |
when i try to install node-xpc-connection repo i get stuck at rollbackFailedOptional while installing |
hell yah @aaroexxt that worked for me! You're an angel |
Also includes a workaround for an issue to build noble on OS X sandeepmistry/node-xpc-connection#24 (comment)
Any update on this? I'm having a similar issue. Am running node v11.15.0 on MacOS MoJave 10.14.6 The workaround by @taoyuan does work as a temporary solution. |
October on Node 10.11 still hitting this when installing a package dependent on the xpc-connection |
If you have issues using Noble with latest versions of Node.js or MacOS, you can consider using https://github.com/abandonware/noble instead! |
Module installation fails on Mac (macOS 10.13.4) after upgrade to node v10.0.0 and npm v6.0.0
Manipulations with PATH (as mentioned in #2) do not help
The text was updated successfully, but these errors were encountered: