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
I am creating a MacOS universal build with Electron Forge. The app uses drivelist and when I try to run it on my M1 I get the error:
Error: dlopen(/Applications/Bazecor.app/Contents/Resources/app/.webpack/main/native_modules/build/Release/drivelist.node, 0x0001): tried: '/Applications/Bazecor.app/Contents/Resources/app/.webpack/main/native_modules/build/Release/drivelist.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Bazecor.app/Contents/Resources/app/.webpack/main/native_modules/build/Release/drivelist.node' (no such file), '/Applications/Bazecor.app
So basically it wants the arm64 stuff. I have taken a look at the drivelist bin folder within node_modules and it has a darwin-universal and darwin-intel folders, however, it is missing one for arm64.
I have taken at other libraries related to hardware like "usb" and they have 3 folders, universal, intel and arm64.
Is there a reason for this folder to be missing? If there is a reason, what could I do to make this work?
I would appreciate any help or hint.
Thank you in advance and regards,
The text was updated successfully, but these errors were encountered:
Hello all,
I am creating a MacOS universal build with Electron Forge. The app uses drivelist and when I try to run it on my M1 I get the error:
So basically it wants the arm64 stuff. I have taken a look at the drivelist bin folder within node_modules and it has a darwin-universal and darwin-intel folders, however, it is missing one for arm64.
I have taken at other libraries related to hardware like "usb" and they have 3 folders, universal, intel and arm64.
Is there a reason for this folder to be missing? If there is a reason, what could I do to make this work?
I would appreciate any help or hint.
Thank you in advance and regards,
The text was updated successfully, but these errors were encountered: