Home > Development Tools > VSCode > Reasons and solutions for vscode plug-in download failure

Reasons and solutions for vscode plug-in download failure

王林
Release: 2019-11-14 18:06:22
Original
14707 people have browsed it

Reasons and solutions for vscode plug-in download failure

Problem:

Click the install button of the corresponding plug-in in vscode to install. The installation fails and the software prompts to install manually (manually install).

Manually download the vsix installation package, then click install from VSIX..., select the vsix installation package for installation, and Error: EACCES: permission denied...

Reason:

This situation is generally due to permission issues that prevent the installation process from operating some files.

Reasons and solutions for vscode plug-in download failure

Solution:

1. Change the directory owner, the command is as follows:

sudo chown -R myuser:myuser ~
Copy after login

Among them, myuser is changed to your user name, ~ is the current directory

2. Modify the directory permissions, the command is as follows:

sudo chmod -R 700 ~
Copy after login

700 means rwx --- ---, that is, the current user can Readable, writable, and executable. Group users and other users cannot read, write, or execute.

After executing these two commands, the installation will be successful.

Recommended tutorial: vscode tutorial

The above is the detailed content of Reasons and solutions for vscode plug-in download failure. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template