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:
- open vscode
- 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
- Windows and Linux Insiders Support - CLI #618 — committed to shanalikhan/code-settings-sync by shanaccelirate 6 years ago
- #624 - New Release Fixing #622 , #618 — committed to shanalikhan/code-settings-sync by shanalikhan 6 years ago
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.jsonfile and install everything. It requires the following:codeavailable on your$PATH,jptool installed, which is a JSON parser (feel free to replace with your favorite tool), andextensions.jsonfile 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])"); doneThis 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.