Skip to content
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

Add support for M1 Mac/arm64e #29

Open
fartinmartin opened this issue Mar 11, 2022 · 10 comments
Open

Add support for M1 Mac/arm64e #29

fartinmartin opened this issue Mar 11, 2022 · 10 comments

Comments

@fartinmartin
Copy link

I'm not sure if this is possible, but on my M1 Mac I get this error when running a clone of the bolt-cep repo:

Error: dlopen(~/bolt-cep-test/node_modules/jsxbin/esdebugger-core/mac/esdcorelibinterface.node, 0x0001): tried: '~/bolt-cep-test/node_modules/jsxbin/esdebugger-core/mac/esdcorelibinterface.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/esdcorelibinterface.node' (no such file), '/usr/lib/esdcorelibinterface.node' (no such file)

One alternative that I would imagine working, but I haven't tried is to run/install node in Rosetta.

@justintaylor-dev
Copy link

+1, have another M1 Mac user experiencing this:

Issue 15

Don't think this issue can be resolved until Adobe releases ExtendScript debugger 2.0 to the public, right now it's in NDA beta.

@tb-b
Copy link

tb-b commented Mar 24, 2022

+1, running vscode in rosetta hurts my soul

@adamdehaven
Copy link

Bump. ExtendScript debugger 2.x is out

https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug

@utenma
Copy link

utenma commented Jun 27, 2022

In order to run binaries with Roseta they must be x86_64 however on M1 node -p process.arch is set to arm64, no x86_64 binaries are installed

@JoshuaLelon
Copy link

I get the same error. Even when I run VS Code and the Terminal app in Rosetta mode. :/ I'm assuming it has something to do with what @mindlid said but I'm not sure how to fix it.

@utenma
Copy link

utenma commented Feb 5, 2023

@JoshuaLelon install a node x86 version, for example 14.16.1 with nvm.

@JoshuaLelon
Copy link

@JoshuaLelon install a node x86 version, for example 14.16.1 with nvm.

Thanks for the tip! I followed this guide:

One alternative that I would imagine working, but I haven't tried is to run/install node in Rosetta.

and now I can yarn build!

@kratzl
Copy link

kratzl commented Aug 3, 2023

Is this already solved?
Because I can run yarn, yarn build without any problems on my mac m1

@justintaylor-dev
Copy link

@kratzl You're probably using VS Code Intel or running in Rosetta mode. Adobe still needs to update jsxbin for Apple Silicon, till then we have to wait.

@justintaylor-dev
Copy link

Full guide for getting this working until (and if) Adobe adds binaries for Apple Silicon:

https://hyperbrew.co/blog/setup-extendscript-dev-for-apple-silicon/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants