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

Running on ARM #66

Closed
warrenseine opened this issue Jan 21, 2022 · 4 comments · Fixed by #104
Closed

Running on ARM #66

warrenseine opened this issue Jan 21, 2022 · 4 comments · Fixed by #104

Comments

@warrenseine
Copy link
Contributor

I'm running under Docker on macOS on an M1 chip. By default, Docker Desktop runs Linux on linux/arm64/v8, which is pretty cool.

However, the Node executable bundled with prettier-maven-plugin is built for x86_64 and fails with:

root@host:/var/code# /root/.m2/repository/com/hubspot/maven/plugins/prettier-maven-plugin/0.17/prettier-maven-plugin-0.17-node-12.13.0-linux.exe
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

When I explicit ask Docker to run with platform linux/amd64, it works, so there's a workaround. However, I'd be much better to have a compatible Node for this architecture.

I wonder if #64 would help here?

@warrenseine
Copy link
Contributor Author

I see that indeed, this seems to be the case. Good luck with the merge!

@jhaber
Copy link
Member

jhaber commented Jan 21, 2022

👍 should have that rolled out next week

@jhaber
Copy link
Member

jhaber commented Jun 6, 2022

I just released this as part of version 0.18 by the way, in case you were waiting for a release

@warrenseine
Copy link
Contributor Author

Coming back to this issue as it solved Darwin ARM64, but not Linux ARM64. This should be easily fixed with #104 now.

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

Successfully merging a pull request may close this issue.

2 participants