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

No installation for mac M1 virtual machine - windows_arm64 #920

Closed
magedhelmy1 opened this issue Sep 28, 2022 · 4 comments
Closed

No installation for mac M1 virtual machine - windows_arm64 #920

magedhelmy1 opened this issue Sep 28, 2022 · 4 comments

Comments

@magedhelmy1
Copy link

magedhelmy1 commented Sep 28, 2022

Has anyone managed to use this on a macOS?

I get the following error

shfmt hasn't downloaded yet!Error: ENOENT: no such file or directory, stat 'c:\Users\magedhelmy\.vscode\extensions\foxundermoon.shell-format-7.2.2\bin\shfmt_v3.3.1_windows_arm64.exe'
Shfmt will be downloaded automatically!
download url: https://github.com/mvdan/sh/releases/download/v3.3.1/shfmt_v3.3.1_windows_arm64.exe
download to: c:\Users\magedhelmy\.vscode\extensions\foxundermoon.shell-format-7.2.2\bin\shfmt_v3.3.1_windows_arm64.exe
If the download fails, you can manually download it to the dest directory.
Or download to another directory, and then set the "shellformat.path" as the path
download shfmt page: https://github.com/mvdan/sh/releases
You can't use this plugin until the download is successful.
download failed: Error: HTTP status 404 : Not Found

Is there a plan to have a version for arm64? Thank you.

@magedhelmy1 magedhelmy1 changed the title No installation for mac M1 virtual machine No installation for mac M1 virtual machine - windows_arm64 Sep 28, 2022
@mvdan
Copy link
Owner

mvdan commented Sep 28, 2022

We have provided darwin arm64 binaries for a while now, e.g. see https://github.com/mvdan/sh/releases/download/v3.5.1/shfmt_v3.5.1_darwin_arm64.

@mvdan mvdan closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
@magedhelmy1
Copy link
Author

Hi Mvdan, can you please share the instructions for setting this up on windows?

@mvdan
Copy link
Owner

mvdan commented Sep 28, 2022

Right, you said windows, not mac.

We only provide some binaries, right now for all of Go's first class ports, mimicking upstream Go per https://github.com/golang/go/wiki/PortingPolicy#first-class-ports. windows/arm64 is not a first class port yet; see golang/go#53541. Anyone can still install the tool from source with Go like the README says.

You also appear to be using https://github.com/foxundermoon/vs-shell-format, so I would suggest to ask them. The error is not from us.

@magedhelmy1
Copy link
Author

magedhelmy1 commented Sep 28, 2022

Great, thanks for your time Daniel!

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