-
Notifications
You must be signed in to change notification settings - Fork 38
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
Find-BicepNetModule
gives error
#318
Comments
The error no longer shows up, but that's because we simply ignore the included Microsoft Bicep repo as a quick fix. We should have a deeper look at what's causing it. |
Problem seems to be that mcr.microsoft.com responds with a HTML page that the ACR SDK tries to parse as JSON. The bicep language server is downloading a module index which is uses for completions, the cache is dowloaded by the method private async Task<ImmutableArray?> TryGetModulesLive() We might want to implement something similar in the future, until then, just ignoring MCR is good enough for now. |
Describe the bug
Find-BicepNetModule
(and corresponding PSBicep command) gives an error when running it, even when working.To Reproduce
Steps to reproduce the behavior:
Find-BicepNetModule -Cache
Additional context
The text was updated successfully, but these errors were encountered: