Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drivelist missing MacOS Arm64 bin folder #435

Open
javierguzman opened this issue Aug 14, 2023 · 2 comments
Open

Drivelist missing MacOS Arm64 bin folder #435

javierguzman opened this issue Aug 14, 2023 · 2 comments

Comments

@javierguzman
Copy link

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:

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,

@gino8080
Copy link

same error

@remloyal
Copy link

Is there a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants