Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to initialize on linux, vscode installed as a snap #464

Open
FrostKiwi opened this issue Oct 1, 2024 · 1 comment
Open

Fail to initialize on linux, vscode installed as a snap #464

FrostKiwi opened this issue Oct 1, 2024 · 1 comment
Labels

Comments

@FrostKiwi
Copy link

Summary | 概述

Installed VSCode on latest Ubuntu via the Package manager Discover, which installs VSCode as a snap. All extensions work, except background, which errors out due to not being able to write to the sandboxed environment of the snap. It errors out with

EROFS: read-only file system, access '/snap/code/169/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.css'

Performing the action with root, results in nothing happening, but opening a new window shows the following in the extension host output:

2024-10-02 00:36:43.013 [error] Activating extension shalldie.background failed due to an error:
2024-10-02 00:36:43.013 [error] Error: EEXIST: file already exists, open '/home/bamboo/.vscode/extensions/shalldie.background-1.2.13/shalldie.background.lock'

However, there actually is no such lock file, upon checking.

Versions

image

Background Config | 插件的配置

default

Expected Behaviors | 期望的行为

Screenshots | 截图

image

Additional Context | 其它信息

Installed from the Ubuntu App

@FrostKiwi FrostKiwi added the bug label Oct 1, 2024
@suiyun39
Copy link
Collaborator

suiyun39 commented Oct 2, 2024

Please ref #382 , This is a known issue that cannot be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants