denoland / vscode_deno

Visual Studio Code plugin for Deno
https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno
MIT License
1.5k stars 146 forks source link

Unable to load schema error on `deno.json` #1165

Closed scarf005 closed 2 months ago

scarf005 commented 2 months ago

Describe the bug

image

To Reproduce

  1. open vscode.
  2. open deno.json(c).
  3. get following error: Unable to load schema from 'https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json': .(768)

Expected behavior

Schema is correctly loaded. seems to be vscode issue as the json can be fetched without issue.

 curl https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json | wc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 26059  100 26059    0     0  27070      0 --:--:-- --:--:-- --:--:-- 27060
    606    2479   26059

Versions

vscode: 1.93.1 deno: deno 2.0.0-rc.4+4b02210 (canary, release, x86_64-unknown-linux-gnu) extension: 3.40.0

bartlomieju commented 2 months ago

Are you using some kind of proxy or VPN? I can load the schema from the GH link without a problem and it works fine in VSCode too. Can it be an intermittent error maybe?

scarf005 commented 2 months ago

after running Start Extension Bisect, it fixed by itself. will close as it's not reproducible.