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

Vscode cannot install vetur. #41797

Closed
fengshenhai-0727 opened this issue Jan 18, 2018 · 8 comments
Closed

Vscode cannot install vetur. #41797

fengshenhai-0727 opened this issue Jan 18, 2018 · 8 comments
Assignees
Labels
extensions Issues concerning extensions info-needed Issue requires more information from poster

Comments

@fengshenhai-0727
Copy link

  • VSCode Version:
  • OS Version:

Steps to Reproduce:

image
Open the developer tool and make the following error.
image

Does this issue occur when all extensions are disabled?: Yes/No

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Jan 18, 2018
@sandy081
Copy link
Member

@fengshenhai-0727 It seems you do not have permissions to access to the TEMP directory.

May be you installed VS Code as root user and trying to open it as a normal user who does not have permissions?

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jan 18, 2018
@fengshenhai-0727
Copy link
Author

Impossible,I can install success through vsix.

@sandy081
Copy link
Member

When you install vsix, we extract it directly into extensions folder. But when you install an extension from gallery, we download the vsix into TEMP directory. This error could be due to when user does not have permissions in that folder.

Please check the permissions for the TEMP directory and try

@fengshenhai-0727
Copy link
Author

I have set permissions for the directory(/var/folders/qt/qvx921xx3_90rqpxntv_wtbh0000gq/T).
image
image
Can you allow vscode to install extensions with root access?

@sandy081
Copy link
Member

@joaomoreno do we have such requests already?

@joaomoreno
Copy link
Member

No, Code will never install extensions with root access. A user should always have write access to his configured TEMP variable.

@zack-lin
Copy link

The same problem to me

@sandy081
Copy link
Member

Closing this based on comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants