[BUG] VS Code extensions are not installing
See original GitHub issueOS system and architecture in which you are running QHub
GCP
Expected behavior
- VS Code extensions should be installable by users
- python extension should be installed by default
Actual behavior
- Trying to install an extension fails
How to Reproduce the problem?
- Attempt to install any extension from VS Code Extensions
Command output
[2022-06-28 10:07:41.756] [window] [info] [Service Worker] registered
[2022-06-28 10:07:41.892] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:07:41.982] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:07:42.257] [window] [error] Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions': Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'
at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919
at async Promise.all (index 1)
at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)
[2022-06-28 10:07:45.763] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:07:45.945] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:07:46.001] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:07:46.030] [window] [error] Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions': Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'
at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919
at async Promise.all (index 0)
at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)
[2022-06-28 10:08:07.310] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:08:09.031] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"]
[2022-06-28 10:08:16.412] [window] [error] ["Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'"," at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919"," at async Promise.all (index 1)"," at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)"," at async U.getAllDepsAndPackExtensionsToInstall (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:108:9171)"," at async U.installExtension (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:108:5108)"," at async U.installFromGallery (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:108:3035)"]
[2022-06-28 10:08:16.439] [window] [error] Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions': Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'
at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919
at async Promise.all (index 1)
at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)
at async U.getAllDepsAndPackExtensionsToInstall (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:108:9171)
at async U.installExtension (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:108:5108)
at async U.installFromGallery (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:108:3035)
[2022-06-28 10:08:16.526] [window] [error] Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions': Internal: Unable to resolve nonexistent file '/opt/conda/envs/default/share/code-server/extensions'
at /opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:78919
at async Promise.all (index 1)
at async i.scanExtensions (/opt/conda/envs/default/share/code-server/lib/vscode/out/vs/server/node/server.main.js:146:79033)
/opt/conda/envs/default/share/code-server/extensions
doesn’t exist./opt/conda/envs/default/share/code-server/
exists, but my user doesn’t have permission to create a new folder herer
### Versions and dependencies used.
_No response_
### Compute environment
GCP
### Integrations
_No response_
### Anything else?
Something may have changed recently because I think extensions used to be stored in `~/.local/share/code-server/extensions`
Issue Analytics
- State:
- Created a year ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Unable to Install Visual Studio Code Extensions - Stack Overflow
Firstly, make sure if you have installed any extensions before (by typing @installed in the extensions panel) if ...
Read more >[SOLVED] Failed to install this extension vscode issue
How to fix: Failed to install this extension vscode issue? · Open your Connection Settings · Double-click on the “Internet Protocol Version 4...
Read more >Cannot install any extension #78783 - microsoft/vscode - GitHub
VSCode Version: 1.37.0 (user setup) OS Version: win 10 1903 Steps to Reproduce: 1.the search of extension work fine 2.if open or download ......
Read more >Managing Extensions in Visual Studio Code
You can browse and install extensions from within VS Code. Bring up the Extensions view by clicking on the Extensions icon in the...
Read more >VS Code extensions - Gitpod
To install a VS Code extension in Gitpod, simply go to the left vertical menu, and open the Extensions view. There you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just met with @costrouc, I will soon submit a PR to fix this.
Hi, @dharhas I’ve done that already (see here), but I think that will take a while to get answered, I talked a bit with Chris this afternoon and we found a way to overlook that setting. For now, we will switch back to how we used to install code-server