This problem started a few weeks ago, when I started using NordVPN on my laptop.
When I try to search for an extension and even when trying to download through the marketplace I get this error:
EDIT:刚刚注意到另一件事可能表明导致问题的原因。当我打开 VSCode 并转到开发人员工具时,我收到此错误消息(甚至在执行任何操作之前):
“(node:19368) [DEP0005] DeprecationWarning: 由于安全和可用性问题,Buffer() 已被弃用。请改用 Buffer.alloc()、Buffer.allocUnsafe() 或 Buffer.from() 方法。(使用Code --trace-deprecation ...
显示警告的创建位置)”
到目前为止,我发现的唯一部分解决方案是手动下载并安装扩展。
我在这里和网上其他地方检查过类似的问题,但没有找到解决此问题的方法。到目前为止我已经尝试过:
- 刷新我的 DNS 缓存并将其设置为 google 的 DNS 服务器。
- 在我的笔记本电脑上禁用 VPN 并重新启动 VS Code。
- 清除扩展搜索结果。
- 禁用当前正在运行的所有扩展。
我使用的是运行 Windows 10 的笔记本电脑。我还没有尝试过其他可能的解决方案吗?
我遇到了同样的问题,我执行了以下步骤来解决它
您所需要做的就是从 VSC 输入 JSON 设置文件
1. Press F1
2. Type User Settings
3. Search for Proxy
4. In proxy section, look for the title `Http: Proxy Authorization`
5. Click on 'Edit in settings.json'
6. Delete all brackets containing proxy data
7. Save JSON file
之后,只需重新启动 VSC
您还可以在中找到 JSON%appdata%/Code/User/settings.json
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)