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

VS Code for Mac: composer.json schema validation fails; URL incorrect #126699

Closed
wp4nuv opened this issue Jun 18, 2021 · 1 comment
Closed

VS Code for Mac: composer.json schema validation fails; URL incorrect #126699

wp4nuv opened this issue Jun 18, 2021 · 1 comment
Assignees

Comments

@wp4nuv
Copy link

wp4nuv commented Jun 18, 2021

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.

VS Code version: Code 1.57.1 (Universal) (507ce72, 2021-06-17T13:28:32.912Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz (8 x 2700)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (1.89GB free)
Process Argv --crash-reporter-id fa700cc6-3cb1-4c7a-a5df-dc68ab6ad5eb
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
phptools-vscode DEV 1.4.6762
gitlens eam 11.5.1
vscode-test-explorer hbe 2.20.4
composer ika 0.7.1
syntax-project-pbxproj mar 0.1.3
file-downloader min 1.0.11
mindaro min 1.0.120210615
vscode-docker ms- 1.13.0
vscode-kubernetes-tools ms- 1.3.3
python ms- 2021.6.944021595
vscode-pylance ms- 2021.6.2
jupyter ms- 2021.6.999406279
remote-containers ms- 0.183.0
cpptools ms- 1.4.1
test-adapter-converter ms- 0.0.10
vscode-yaml red 0.20.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyt639:30300192
pythontb:30283811
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vscoreces:30322571
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255cf:30323309
vscorehov:30309549
vscod805cf:30301675
binariesv615cf:30323120

@aeschli
Copy link
Contributor

aeschli commented Jun 21, 2021

The schema URL comes from the composer extension. I created ikappas/vscode-composer#19

@aeschli aeschli closed this as completed Jun 21, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants