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

composer.json schema validation fails; URL incorrect #19

Closed
aeschli opened this issue Jun 21, 2021 · 1 comment · Fixed by #20
Closed

composer.json schema validation fails; URL incorrect #19

aeschli opened this issue Jun 21, 2021 · 1 comment · Fixed by #20

Comments

@aeschli
Copy link

aeschli commented Jun 21, 2021

Forwarded from microsoft/vscode#126699

Issue Type: Bug

When creating a new composer.json file, the JSON extension fails to validate with the following message:
{
"resource": "/Users/pedro/Projects/sql-updates/composer.json",
"owner": "generated_diagnostic_collection_name#0",
"code": "768",
"severity": 4,
"message": "Problems loading reference 'http://json.schemastore.org/composer': Unable to load schema from 'http://json.schemastore.org/composer': Request vscode/content failed unexpectedly without providing any details.",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 2
}
Navigating to that URL directly shows the following error:
"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

The schema validates correctly per "composer validate" command.

@mglaman
Copy link

mglaman commented Aug 13, 2021

@ikappas will there be a release for the URL fix?

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

Successfully merging a pull request may close this issue.

2 participants