Home>Article>Development Tools> 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.
Solution:
1. Change the directory owner, the command is as follows:
sudo chown -R myuser:myuser ~
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 ~
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!