hyperbrew / bolt-cep

A lightning-fast boilerplate for building Adobe CEP Extensions in React, Vue, or Svelte built on Vite + TypeScript + Sass
MIT License
305 stars 40 forks source link

Error: dlopen(/Users/chenhongwei/Desktop/devDemo/myApp/node_modules/jsxbin/esdebugger-core/mac/esdcorelibinterface.node, 0x0001): tried: '/Users/chenhongwei/Desktop/devDemo/myApp/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) #32

Closed imHowie closed 2 years ago

imHowie commented 2 years ago

在yarn build的时候,发生以下错误,我该如何解决

Error: dlopen(/Users/chenhongwei/Desktop/devDemo/myApp/node_modules/jsxbin/esdebugger-core/mac/esdcorelibinterface.node, 0x0001): tried: '/Users/chenhongwei/Desktop/devDemo/myApp/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)

justintaylor-dev commented 2 years ago

duplicate https://github.com/hyperbrew/bolt-cep/issues/15

Need someone with an M1 Mac to update the jsxbin package with the right binaries.

For now, disable JSXBIN in the cep.config.ts by setting jsxbin: 'off'