-
-
Notifications
You must be signed in to change notification settings - Fork 144
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-gyp-build / zadeh issue on arm64 macOS #580
Comments
Okay, I'm able to resolve this error for real for https://github.com/rust-lang/atom-ide-rust with the following: ppm uninstall ide-rust
ppm install ide-rust
cd ~/.pulsar/packages/ide-rust/node_modules/zadeh/
node-gyp rebuild When I do the same process for https://github.com/atom-community/atom-ide-outline I still get an editor crash:
full macOs crash file here: https://www.dropbox.com/s/4lwl4dzxdfir0cs/zadeh-crash%20-%20Electron%20Helper%20%28Renderer%29-2023-06-08-110254.ips?dl=0 Shouldn't something similar to me issuing |
I've also filed an issue on zadeh itself to try and see if I can get the missing prebuilds added: atom-community/zadeh#103 |
ahh ok, so my Atom version is |
Thanks in advance for your bug report!
What happened?
The package atom-ide-rust is broken, trying and failing to find a native prebuild for
zadeh
. I'm reporting this here because it looks likezadeh
is widely used so it may be affecting many more packages for folks ondarwin-arm64
. This all worked fine with identical packages versions under Atom, so I think there may be a Pulsar specific bug or at least a recent regression.I was able to get past the initial package load failure (stack trace attached below) and cause a different editor crash with the following:
The ide-rust package loads with the above (prompts me to update my rustc version, installs its dependencies, etc) but when I open a rust file I get an "editor has crashed" dialog and these in the console:
So I'm guessing it's something like the following:
There's no prebuild for
darwin-arm64
shipped withzadeh
Something about the build/install process (likely at least fetching the node headers) is silently failing
The package then fails to load
When I build the zadeh out-of-band and copy in the prebuild I probably got a version wrong or something, so my prebuild doesn't work either.
Pulsar version
1.105.0 arm64
Which OS does this happen on?
🍎 macOS
OS details
macOS 13.4
Which CPU architecture are you running this on?
Apple M1/M2
What steps are needed to reproduce this?
ide-rust
enabledide-rust
will crash failing to loadzadeh
Additional Information:
Stack Trace
Failed to load the ide-rust package
The text was updated successfully, but these errors were encountered: