-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Unable to install on macOS 11.4 Apple Silicon Node v16.4 #296
Comments
Now I am seeing the following, which is perhaps some progress, and more directly implicating node-libcurl:
|
OK I think I am past this issue. Regarding both traces above: First trace:
Second trace:
|
+1 having this issue as well Edit: Thank you @pbryant-xag! Your solution fixed the issue for me!
|
I think I'm running into a similar issue with node-libcurl over here: Homebrew/homebrew-core#86456 |
@curiositycasualty no it is not, my expectation is that the library should work with the macOS version of libcurl. We do have an expectation (probably not that well documented) that Lines 223 to 234 in 35f21f8
This We are setting the search paths here: Lines 169 to 177 in 35f21f8
The issue presented in the OP is happening in the
It seems that it is not able to find the file returned by: In the issue that you linked above, @SMillerDev mentions the following:
So it seems the initial expectation that it should work with the system libcurl version is not really valid, as if this file is never available on macOS (with the command line tools installed), I'm trying to get a hold of a macOS so I can better investigate this. But I do lack some expertise with those linking issues, so any help on how to fix this would be appreciated. |
Seems like the folks over here dealt/are dealing with a similar issue: tarantool/tarantool#5543 (comment) |
nodejs/node-gyp#892 is maybe a more useful example since they breakdown usage of |
Just noting that this worked for me again on another M1 Mac, and on macOS 12.0.1, from the same error message. I know this shouldn't be surprising, but it is alway pleasing nonetheless. |
@JCMais I'm not sure I have depth of skills to help you here, but would gladly do so if I can. I can at least test things for you on macOS, for example, and you can go ahead and fire me if I'm not up to the job! |
Hi Guys, Follow this tutorial to resolve this problem: This error invoke because curl-config --prefix/lib/libcurl.dylib | sed -n 2p' dont is valid in MacOS or in curl before:
but my currently path valid is =>
/lib/libcurl.dylib => /local/opt/curl/lib/libcurl.dylib After of alter path in file my process of build binding.gyp work fine. |
Same thing happening for me on x86, neither node 16.16 or 18.16 works, trying to build under electron v23
Darwin dev-team.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64 curl-openssl & xcode-select seems to be working correctly
I tried manually copying the dylib but it also seems that we are no longer able to write files under "/" after Catalina (https://stackoverflow.com/a/57445554/1922857) |
I wonder if this That's no longer an issue, since the pre-built binaries are now statically linked. So, I think it might be fine to go back to just baking in the path to whichever version of |
This should be fixed on v4 |
Hi. I get the errors as below when trying to
npm install
in the environment noted in the description. We have other systems running identical (as far as we can tell) OS and other dependencies, but on macOS for Intel, and they build the same project just fine. Wondering if there is something still not right with node-libcurl on Node v16 and Apple Silicon, even at node-libcurl 2.3.3. Have tried at Node v16.4.0 and v16.4.2 FWIW.Here's an extract from the log file:
The text was updated successfully, but these errors were encountered: