-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Installation of extension(s) is not working due to parsing error of extensionCommandTree.json: json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0) #28321
Comments
Thank you for opening this issue, we will look into it. |
|
|
We have run into this as well running |
Same here for deployment pipelines using az-cli. Everything fails. |
|
It seems to be happening when |
We are looking into this and will reply here after we figure out. |
We've experienced this issue on our side and running
However, I suspect the CLI code is not prepared for decoding JSON files with BOM. |
I'm also hitting this in Github Action, using the following job:
The same job was working fine until one hour before, then it just broke. The key "runs-on" is set to "ubuntu-latest". |
I use the SSH extension in a pipeline, and explicitly doing |
also happening here:
|
We have also started facing the same issue since today morning for all |
This workaround works fine |
In our case, we've also get rid of We've changed it to: and installed all required extensions with |
i have some issue running
|
Same problem while running |
ℹ️ Official AnnouncementWe have identified the root cause to be the incorrect metadata of the Command Tree file:
We have already fixed it and dynamic installation should now work as expected. Please retry the commands. Thanks for reporting this issue and apologize for the inconvenience caused. |
Confirmed, the error is now gone for me, without changing anything on my side. |
Everything seems okay now, just ran the same pipeline and it is executing without any problem |
Confirmed this has solved my issues without changing anything on my side, thank you! |
Issue has been resolved thanks! |
Close this as it has been resolved. |
Describe the bug
When trying to install extensions, just getting error
This happens both locally (using e.g.
docker run -it --rm mcr.microsoft.com/azure-cli
) and at Azure DevOps.Related command
az account subscription list
(even without logging in)Errors
Issue script & Debug output
Expected behavior
Extension installed fine and command that was asked done.
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: