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

muhammara package breaks mac dev by default #142

Open
mikemitchel opened this issue Feb 19, 2024 · 2 comments
Open

muhammara package breaks mac dev by default #142

mikemitchel opened this issue Feb 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mikemitchel
Copy link
Contributor

MuhammaraJS (the drop-in replacement for hummusjs) is processor/architecture specific so when trying to run 'npm run dev' on a mac, it gives this error:

/a2j/dat/node_modules/muhammara/binding/muhammara.node' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

need some kind of architecture auto detect, or a wiki update on how to change it easily.

@mikemitchel mikemitchel added the bug Something isn't working label Feb 19, 2024
@mikemitchel
Copy link
Contributor Author

A quick but likely insecure workaround is to uninstall MuhammaraJS and re-install HummusJS and fix the require statements in pdf.js and assemble-utils.js.

@tobiasnteireho
Copy link
Collaborator

This may be a versioning issue that could be resolved by downgrading the version of muhammara as a less insecure alternative to the Hummus fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants