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 has been archived by the owner on Jun 27, 2022. It is now read-only.
I am getting an architecture error because I am using an M1 mac chip of a different architecture than the standard intel X86.
[1] Error: dlopen(/Users/user/Documents/project/frontend/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node, 0x0001): tried: '/Users/user/Documents/project/frontend/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
I already tried to use reactjs on top to try to get around this problem, but then I have another problem which is the user approval for reading in the browser, as I will be using React for frontend, electron as build engine it doesn't invoke the user permission.
I am using the following packages:
@ledgerhq/hw-transport-node-hid
@ledgerhq/hw-app-eth
Can someone give me a way to solve this problem?
The text was updated successfully, but these errors were encountered:
Dkdaniz
changed the title
[error][macOS][M1][Electron]
[error][macOS][M1][Electron][hid]
May 13, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi guys,
I am getting an architecture error because I am using an M1 mac chip of a different architecture than the standard intel X86.
[1] Error: dlopen(/Users/user/Documents/project/frontend/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node, 0x0001): tried: '/Users/user/Documents/project/frontend/node_modules/usb/prebuilds/darwin-x64+arm64/node.napi.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
I already tried to use reactjs on top to try to get around this problem, but then I have another problem which is the user approval for reading in the browser, as I will be using React for frontend, electron as build engine it doesn't invoke the user permission.
I am using the following packages:
Can someone give me a way to solve this problem?
The text was updated successfully, but these errors were encountered: