Unable to install SDK via Manage SDKs in VSCode

Hi,

I am trying to install NCS v3.0.1 on Ubuntu 24.04 PC and I get the following error.

Looks like ZEPHYR_BASE is not setup. I am trying to follow the Fundamentals Course on DevAcademy. 

Is there something that I am missing?

Parents
  • Additional info generated by the Support tool.

  • Hello,

    What happens when you restart VS Code?

    What about reinstalling that SDK version or trying to install any other one?

    I assume you are doing it via the VS Code extension, as told in the DevAcademy course?

    Best regards,

    Michal

  • Thank you for confirmation. I see that we now offer NCS both pre-packaged and straight from github. Which version did you choose?

    And could you try the other version instead?

    Also, can you tell me where exactly does your install log comes from in VS Code?

    Best regards,

    Michal

  • Hi Michal,

    The installation log I posted is from the OUTPUT window on VS Code.

    With the GitHub SDK install path, I get the following error.

    Is it required to install west tool prior to installing SDKs or toolchain? 

    Best regards,

    Navin

  • Hello Navin,

    Thank you for the log. The thing is, west is installed with the toolchain and as you can see in the log, it is being run properly.

    "Status 128" in git means that there is an issue with the SSH key being used for github. Could it be that you have a wrong SSH key, or have removed or added one?

    Can you otherwise interface github repositories from command line?

    You could also try running "west update" in your NCS folder by yourself from the command line, like this line says:

    [west]: === Initialized. Now run "west update" inside /home/navin/ncs/v3.0.1

    Best regards,

    Michal

  • Hi Michal,

    SSH seems good with GitHub.

    I tried to run the command, but looks like it is missing.

    Best regards,

    Navin

  • What if you open a new nRF Connect terminal in VS Code? Actually, is it even possible to choose a version there?

Reply
  • What if you open a new nRF Connect terminal in VS Code? Actually, is it even possible to choose a version there?

Children
  • Hi Michal,

    It was a git GPG format issue! 

    Once I set a correct format, there were no issues. 

    Thank you for your help!

    Best regards,

    Navin

  • Good to know, thank you for the information Navin!

    Best regards,

    Michal