vscode: cannot update / install extension
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.76.0
- OS Version: MacOS 13.1
when i try to update a extension or install a extension, vscode shows a tip like:
Error while updating / installing' {extension name} ' extension.
Please check the log for more details.
and the same time the below error ouput in the ouput pane:
2023-03-09 15:29:24.325 [error] Error: net::ERR_INVALID_ARGUMENT
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:7047)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-03-09 15:29:24.365 [error] net::ERR_INVALID_ARGUMENT: Error: net::ERR_INVALID_ARGUMENT
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:7047)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
and a similar error show in the output pane when open vscode:
2023-03-09 15:23:52.351 [error] update#isLatestVersion(): failed to check for updates
2023-03-09 15:23:52.352 [error] Error: net::ERR_INVALID_ARGUMENT
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:7047)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-03-09 15:23:54.001 [error] update#isLatestVersion(): failed to check for updates
2023-03-09 15:23:54.002 [error] Error: net::ERR_INVALID_ARGUMENT
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:105:7047)
at SimpleURLLoaderWrapper.emit (node:events:526:28)
2023-03-09 15:24:09.403 [info] update#setState checking for updates
2023-03-09 15:24:10.175 [info] update#setState idle
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 19 (4 by maintainers)
I solved this problem by below setting in settings.json:
I’m not sure if it’s an issue with VSCode or Clash X, as I only encountered it after updating to version 1.76.0. I’ve been using Clash X for years and never had this problem before. The last update for Clash X was released last year.