You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I use this component within an electron app. When I run the application on a Mac with the M1 processor, I get this exception on startup:
App threw an error during load
Error: dlopen(/Users/ume/git/monorepo/web/electron/app-helium/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/Users/ume/git/monorepo/web/electron/app-helium/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1199:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:1800)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/ume/git/monorepo/web/electron/app-helium/node_modules/keyboard-layout/lib/keyboard-layout.js:4:35)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
When I run the same app compiled as x86-64, I don't get any exception.