无法连接到扩展市场,Linux Manjaro 21.0.7 [英] Can't connect to Extension Marketplace, Linux Manjaro 21.0.7

查看:28
本文介绍了无法连接到扩展市场,Linux Manjaro 21.0.7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在新的 Manjaro 安装中安装了新版本的 vscode.与互联网的连接处于活动状态,但出现以下错误

i have installed a fresh version of vscode in my new Manjaro installation. Connection to the internet is active but i get the following error

"我们目前无法连接到扩展市场,请稍后再试."

"We cannot connect to the Extension Marketplace at this time, please try again later."

当我打开开发者控制台时,出现以下错误:

When i open the developer console i get the following Errors:

Access to XMLHttpRequest at 'https://open-vsx.org/vscode/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
workbench.desktop.main.js:2835 Error querying extensions gallery XHR failed
workbench.desktop.main.js:76 POST https://open-vsx.org/vscode/gallery/extensionquery net::ERR_FAILED

谁能帮忙;-(这是什么意思,我该如何解决?

Can anyone help ;-( What does that mean and how can i fix it?

最好的祝福丹尼尔

推荐答案

我已经通过 Manjaro 存储库安装了 VS Code.但是现在我已经尝试通过 Snapcraft 进行安装并且可以正常工作 ;-)

I have installed VS Code via the Manjaro Repository. But now i have tried installing via Snapcraft and this works ;-)

https://snapcraft.io/install/code/manjaro

这篇关于无法连接到扩展市场,Linux Manjaro 21.0.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆