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

Bundle executable for linux_arm64 #80

Open
elle-j opened this issue Apr 5, 2023 · 4 comments
Open

Bundle executable for linux_arm64 #80

elle-j opened this issue Apr 5, 2023 · 4 comments

Comments

@elle-j
Copy link

elle-j commented Apr 5, 2023

I'm using an Arm Mac and trying to use this package inside of a Linux container and getting the following error message:

Error: This module doesn't bundle the clang-format executable for your platform. (linux_arm64)
Consider installing it with your native package manager instead.

Expectation:

  • Bundling clang-format executable for linux_arm64 solely using the npm package.
  • Not needing to install clang-format using apt-get.
  • Not needing to uninstall the npm package.
@ErebusBat
Copy link

Furthermore if you are using M1 with docker (so your platform is linux_arm64) AND an alpine base image then it does not appear to be possible to bypass this error by install the clang-format tool using the native package manager (using apk add clang-extra-tools which drops the binary at /usr/bin/clang-format).

@elle-j
Copy link
Author

elle-j commented Jul 11, 2023

@ErebusBat, apologies for the late reply. Thanks for getting back, I'll go ahead and close this issue.

@elle-j elle-j closed this as completed Jul 11, 2023
@ErebusBat
Copy link

@elle-j I am unsure why did you close the issue?

I was adding a bit more context as I think is valid... we should be able to specify the native executable for linux_arm64

@elle-j
Copy link
Author

elle-j commented Jul 14, 2023

Ah, I misinterpreted what you wrote earlier. Thanks for providing some additional context 👍 Yes, would definitely be helpful if this can be fixed.

@elle-j elle-j reopened this Jul 14, 2023
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

2 participants