-
Notifications
You must be signed in to change notification settings - Fork 152
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
The 'openfolder' is not supported on Apple Silicon devices on macOS Ventura 13.0.1 #218
Comments
Same here: (node:17717) UnhandledPromiseRejectionWarning: Error: Command failed: bless --folder /Volumes/... 1 --openfolder /Volumes/... 1 |
Same problem here. My terminal is in i386 but it still reports this error so it's unable to complete a build |
Hi, please have a look at #216 . |
Unfortunately it didn't help #216. |
I ran into this problem since updated to macOS Ventura 13.0.1 yesterday.
This is of course merely a hacky workaround and by no means a proper solution, but it may be helpful. |
@Chentai-Kao, This worked like a charm. Thanks a lot 🎉 . What could be the implications of building a dmg this way? |
I think that the problem is that you are running appdmg under Rosetta, can you check if this is the case and try running appdmg using an arm-native version of Node instead? |
Would including a check for rosetta be applicable?
Ref Links: |
We hit this problem as well, any chance PR #223 could be looked at and merged if it fixes the issues? |
For those encountering this issue while waiting for @LinusU to merge the pending PR fix, you can use a package.json override pointed to the PR fork:
Its fully compatible with the appdmg v0.6.6 |
I've found that this error emerges when node's architecture doesn't match the machine's – usually, this means you're running x64 node on an arm64 (M1, M2) Mac. Here's how to find out what architecture is being used for node: node -p "process.arch" If that says |
These below may help:
|
Applies temporary fix as per LinusU#218 (comment)
I'm using the latest version (0.6.4) of node-appdmg.
I found out that this problem has been solved on other osx versions. But I am on macOS Ventura 13.0.1,
and I still encounter the same problem.
The log is as follows.
Error: Command failed: bless --folder /Volumes/xxxx --openfolder /Volumes/xxxx
bless: The 'openfolder' is not supported on Apple Silicon devices.
Any solution thanks.
The text was updated successfully, but these errors were encountered: