code-settings-sync: Extension Fails on Insiders and Mac

πŸ› Describe the bug
When sync download, all extensions sync failed, other config sync success.

🌴 **Visual Studio Code Version : 1.26.1 🌴 **Code Settings Sync Version :3.1.0 🌴 **Operating System : Mac 10.13.6 🌴 **Occurs On: Download 🌴 **Proxy Enabled: No 🌴 **Gist Id: 318aa8a0e3558149e9e90f153b44ee21

πŸ“° To Reproduce Steps to reproduce the behavior:

  1. open vscode
  2. press Shift + Alt + D

πŸ’ͺ Expected behavior All extensions sync success.

πŸ“Ί Console Error Log


CODE SETTINGS SYNC DOWNLOAD SUMMARY
Version: 3.1.0
--------------------
GitHub Token: ******
GitHub Gist: 318aa8a0e3558149e9e90f153b44ee21
GitHub Gist Type: Secret

Restarting Visual Studio Code may be required to apply color and file icon theme.
--------------------
Files Downloaded:
  extensions.json > extensions.json
  keybindings.json > keybindingsMac.json
  material-icon-theme.json > material-icon-theme.json
  settings.json > settings.json

Extensions Ignored:
  No extensions ignored.

Extensions Removed:
  No extensions removed.

Extensions Added:
  No extensions installed.
--------------------
Done.

πŸ“Ί Additional context extension-output.log

CODE SETTINGS SYNC - COMMAND LINE EXTENSION DOWNLOAD SUMMARY
Version: 3.1.0
--------------------
TOTAL EXTENSIONS : 24


"bin//code" --install-extension debian001.app-migrator
Error: Command failed: "bin//code" --install-extension debian001.app-migrator
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension HookyQR.beautify
Error: Command failed: "bin//code" --install-extension HookyQR.beautify
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension EditorConfig.EditorConfig
Error: Command failed: "bin//code" --install-extension EditorConfig.EditorConfig
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension donjayamanne.githistory
Error: Command failed: "bin//code" --install-extension donjayamanne.githistory
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension cesium.gltf-vscode
Error: Command failed: "bin//code" --install-extension cesium.gltf-vscode
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension SirTori.indenticator
Error: Command failed: "bin//code" --install-extension SirTori.indenticator
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension dollyn.line-counter
Error: Command failed: "bin//code" --install-extension dollyn.line-counter
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension PKief.material-icon-theme
Error: Command failed: "bin//code" --install-extension PKief.material-icon-theme
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension ionutvmi.path-autocomplete
Error: Command failed: "bin//code" --install-extension ionutvmi.path-autocomplete
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension felixfbecker.php-debug
Error: Command failed: "bin//code" --install-extension felixfbecker.php-debug
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension neilbrayfield.php-docblocker
Error: Command failed: "bin//code" --install-extension neilbrayfield.php-docblocker
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension felixfbecker.php-intellisense
Error: Command failed: "bin//code" --install-extension felixfbecker.php-intellisense
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension ikappas.phpcs
Error: Command failed: "bin//code" --install-extension ikappas.phpcs
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension pnp.polacode
Error: Command failed: "bin//code" --install-extension pnp.polacode
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension mohsen1.prettify-json
Error: Command failed: "bin//code" --install-extension mohsen1.prettify-json
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension sidmishraw.topper
Error: Command failed: "bin//code" --install-extension sidmishraw.topper
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension dushaobindoudou.translation
Error: Command failed: "bin//code" --install-extension dushaobindoudou.translation
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension octref.vetur
Error: Command failed: "bin//code" --install-extension octref.vetur
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension PeterJausovec.vscode-docker
Error: Command failed: "bin//code" --install-extension PeterJausovec.vscode-docker
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension dbaeumer.vscode-eslint
Error: Command failed: "bin//code" --install-extension dbaeumer.vscode-eslint
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension wix.vscode-import-cost
Error: Command failed: "bin//code" --install-extension wix.vscode-import-cost
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension DavidAnson.vscode-markdownlint
Error: Command failed: "bin//code" --install-extension DavidAnson.vscode-markdownlint
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension cssho.vscode-svgviewer
Error: Command failed: "bin//code" --install-extension cssho.vscode-svgviewer
/bin/sh: bin//code: No such file or directory


"bin//code" --install-extension minhthai.vscode-todo-parser
Error: Command failed: "bin//code" --install-extension minhthai.vscode-todo-parser
/bin/sh: bin//code: No such file or directory


About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 9
  • Comments: 49 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Just so that there is no misunderstanding, I observe the same behavior on both MacOS (10.13.6) and Windows 10 Pro (April 2018 Update).

Thanks for looking into it!

@shanalikhan Thanks, done that in #628 and #629.

Alright, Let me explain in single post:

MacOS : VS Code - βœ… MacOS : VS Code Insiders - βœ…

Windows : VS Code - βœ… Windows : VS Code Insiders - ❎

Linux : VS Code - βœ… Linux : VS Code Insiders - ❎

@borekb and @beeblebrox3 can you please create new issue with the suggestions and unexpected behavior. I will release v3.1.2 later this week fixing them.

I’m going to close this issue.

If anybody needs a workaround for a new machine, I used this one-liner Bash command to read the extensions.json file and install everything. It requires the following:

  1. VS Code’s code available on your $PATH,
  2. The JMESPath jp tool installed, which is a JSON parser (feel free to replace with your favorite tool), and
  3. The extensions.json file somewhere on your machine available to read.

for (( c=0; c<$(jp -f extensions.json "length([])"); c++)); do code --install-extension $(jp -f extensions.json -u "join('.', [$c].[publisher, name])"); done

This doesn’t fix the extension in any way, but if you need to setup a new machine and move on, it’ll do the job.

Since the current version of the extension is broken, could you re-publish the prior version? Is there any way to install the old version? Trying to set up a new work computer and this is very frustrating.