nRF Connect for VS Code - SDK not recognized and west exits with code -2 after update to v2026.3.1484

After updating from v2026.1.1327 to v2026.3.1484 on Linux, all previously installed SDKs disappeared from the Welcome view — the extension no longer recognizes them. Attempting to update west from within the extension fails immediately with exit code -2. No changes were made to the environment between the two versions.

It seems that in v2026.3.1484, `toolchainInstallDir` reads `nrfutil-sdk-manager config show --json` output as `JSON.parse(e)?.install_dir`, but the actual JSON structure nests it under `default.install_dir`, so it always falls back to `~/ncs` regardless of configuration.

Verified workaround: rolling back the extension to 2026.1.1327 immediately fixes the issue.

Another workaround (which defeats the purpose of having a setting for selecting a different folder): create a symbolic link from the actual`ncs` foldet to `~/ncs`.

Parents Reply
  • Please, have a closer look at the original post of this topic, everything is explained, including a possible reason for the failure.

    To reproduce it's enough to have the Nordic SDKs and toolchains in a folder different from the 'canonical' one (`$HOME/ncs`) and then set the path in the VSCode extension setting parameter (`nrf-connect.toolchainManager.installDirectory`).

    Note that many people prefer not to use the canonical folder in order not to clutter the home folder, but keeping things nicely organized.


    BTW, I confirm the new version still has the same issue, so we need to stay at the version from 2 months ago.

Children
Related