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

npm run setup failed on M1 macbook #10

Open
Croge32 opened this issue Mar 11, 2022 · 0 comments
Open

npm run setup failed on M1 macbook #10

Croge32 opened this issue Mar 11, 2022 · 0 comments

Comments

@Croge32
Copy link

Croge32 commented Mar 11, 2022

After running npm run setup, I had the following error:

LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/ffi_c.bundle' (no such file) - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle

To fix this, I had to run arch -x86_64 pod install to fix it and get the pods installed. This may be an issue on my machine with the ffi gem but wanted to flag for someone else to give it a shot.

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

1 participant