首页

Javascript

Html
Css
Node.js
Electron
移动开发
小程序
工具类
服务端
浏览器相关
前端收藏
其他
关于
公司注册

Package.json报错:Unable to load schema from 'http://json.schemastore.org/package': Bad request. The request cannot be fulfilled due to bad syntax. Invalid header received from client. .

2020年07月10日 发布 阅读(8478) 作者:Jerman

在这里插入图片描述

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: read ECONNRESET

解决:

文件-首选项-设置-应用程序 - proxy Authorization,点击如图
在这里插入图片描述

在settings.json中添加,最后重启项目

  1. "http.proxyAuthorization": "false"
版权声明:本站文章除特别声明外,均采用署名-非商业性使用-禁止演绎 4.0 国际 许可协议,如需转载,请注明出处