jsxbin icon indicating copy to clipboard operation
jsxbin copied to clipboard

Add support for M1 Mac/arm64e

Open fartinmartin opened this issue 2 years ago • 10 comments

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.

fartinmartin avatar Mar 11 '22 20:03 fartinmartin

+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.

justintaylor-dev avatar Mar 14 '22 15:03 justintaylor-dev

+1, running vscode in rosetta hurts my soul

tb-b avatar Mar 24 '22 08:03 tb-b

Bump. ExtendScript debugger 2.x is out

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

adamdehaven avatar Jun 17 '22 18:06 adamdehaven

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

utenma avatar Jun 27 '22 17:06 utenma

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.

JoshuaLelon avatar Feb 04 '23 20:02 JoshuaLelon

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

utenma avatar Feb 05 '23 07:02 utenma

@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!

JoshuaLelon avatar Feb 05 '23 17:02 JoshuaLelon

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

kratzl avatar Aug 03 '23 09:08 kratzl

@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 avatar Aug 03 '23 21:08 justintaylor-dev