eza-community / eza

A modern alternative to ls
https://eza.rocks
European Union Public License 1.2
11.41k stars 205 forks source link

bug: eza installation fails - winget #953

Closed scottmckendry closed 5 months ago

scottmckendry commented 5 months ago

Trying to install the latest version of eza via winget on Windows 23H3 and I get the following error:

An unexpected error occurred while executing the command:
[YAML:Policy] unsupported control character [line 1; col 14]
0x8a150004 : Opening manifest failed

image

I've also tried 0.18.11 & 0.18.10 with the same result.

cafkafk commented 5 months ago

I'm personally not able to assist much when it comes to winget/windows (I don't even have a windows computer!)

You might have more luck asking upstream in winget?

michaelfsp commented 5 months ago

I was getting the same error as @scottmckendry. It seems like winget takes issue with the double quotes on the Description section of eza-community.eza.locale.en-US.yaml (line 15; col 14) Reformatting the YAML files with yq (via conform.nvim in neovim) fixed the issue for me. I've sent a pull request for the fix.

scottmckendry commented 5 months ago

@michaelfsp you're a ⭐ Thankyou!