jsxbin
jsxbin copied to clipboard
Add support for M1 Mac/arm64e
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.
+1, have another M1 Mac user experiencing this:
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.
+1, running vscode in rosetta hurts my soul
Bump. ExtendScript debugger 2.x is out
https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug
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
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 install a node x86 version, for example 14.16.1 with nvm.
@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
!
Is this already solved? Because I can run yarn, yarn build without any problems on my mac m1
@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.