question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Extension Not Found" prevents download of other extensions

See original GitHub issue

🐛 Describe the bug
During sync, if one of the extensions is no longer available, the remaining extensions are not synced.

While syncing extensions.json -

  1. Sync Extension A (SUCCESS)
  2. Sync Extension B (FAILS - extension not found)
  3. Extention C is not synced
  4. Extension D is not synced

In the gist, joshpeng.sublime-babel-vscode is the offending extension. Removing that extension allows the download to work as expected

🌴 Visual Studio Code Version : 1.42.1 🌴 Code Settings Sync Version : 3.4.3 🌴 Standard or Insiders : Standard 🌴 Portable or Installed : Installed 🌴 OSS or Official Build : Official 🌴 Operating System : Linux - Debian 10 🌴 Occurs On: Download 🌴 Proxy Enabled: No 🌴 Gist Id: daafa9b496b8bf332beab39196a7fd17

📰 To Reproduce Steps to reproduce the behavior:

  1. Start with a fresh install
  2. Install Sync extension
  3. Configure Sync extension
  4. Download Settings
  5. Error will occur, you’ll need to open developer tools to see the details

💪 Expected behavior The missing/invalid extension is skipped, and the rest of the extensions.json file is processed Optionally it would be good to notify the user exactly which extension is invalid, without requiring them to open the Dev Tools

📺 Console Error Log

[Extension Host] Error: Error: Error: Extension 'joshpeng.sublime-babel-vscode' not found.
    at /home/cody/.vscode/extensions/shan.code-settings-sync-3.4.3/out/extension.js:290:22293
    at /home/cody/.vscode/extensions/shan.code-settings-sync-3.4.3/out/extension.js:290:11611
    at Object.throw (/home/cody/.vscode/extensions/shan.code-settings-sync-3.4.3 out/extension.js:290:11716)
    at s (/home/cody/.vscode/extensions/shan.code-settings-sync-3.4.3/out/extension.js:290:10513)

📺 Additional context Issue occurred on a fresh install of VSCode

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:29
  • Comments:8

github_iconTop GitHub Comments

11reactions
arthedzacommented, Mar 27, 2020

You can also delete the missing extension from the gist manually.

How to do that? I’m facing the same problem!

Just go to your gists on GitHub, then find the Visual Studio Code Settings Sync Gist which name can be ‘cloudSettings’ one (I don’t remember details). And all you need is to edit the file ‘extensions.json’.

4reactions
arthedzacommented, Mar 17, 2020

You can also delete the missing extension from the gist manually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix problems with apps, extensions, or themes - Chrome Web ...
If you're having problems with your apps, extensions, and themes, try these steps. If you can't install an app You can no longer...
Read more >
How to download Chrome extensions for installing on another ...
Go to where the plugins are installed (by default, it should be "%APPDATA%/../Local/Google/Chrome/User Data/Default/Extensions" in Windows. Open the folder of ...
Read more >
Managing Extensions in Visual Studio Code
This article explains how to find, install, and manage VS Code extensions from ... Dependencies - Lists if the extension depends on any...
Read more >
Chrome extension doing a download can't always specify file ...
I've disabled all other extensions and also checked to see if onActionIgnored ever fires (it does not). I finally added logging for all...
Read more >
Blocked attachments in Outlook - Microsoft Support
Some attachment file types are automatically blocked because of their potential ... or even rename the file with another extension, then have your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found