All of my .json files have problems loading reference/schema from schemastore.azurewebsites.net
I'm behind my company's proxy which I don't know the details because it's everything automatic, and this problem have bug me for some time.
I'm not sure whether this is an universal solution but according to this issue, the http.proxySupport setting is defaulting to "override". I turn this setting off and the errors disappeared.
"http.proxySupport": "off"
Open User settings of visual studio code through the command palette:
- Press F1
- Type
user settings
. - Select
Preferences:Open User Settings
from drop down - Put below code and modify accordingly
"http.proxy": "http://username:password@hostname:port/", "http.proxyAuthorization": null, "http.proxyStrictSSL": true
I was facing following issue with Angular 6:
Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/package.json': Unable to load schema from 'https://schemastore.azurewebsites.net/schemas/json/package.json': Unable to connect to https://schemastore.azurewebsites.net/schemas/json/package.json. Error: unable to get local issuer certificate
I added following properties at the end of the User Settings File and worked for me:
"http.proxy": "",
"http.proxyAuthorization": null,
"http.proxyStrictSSL": false