Unable to create West Workspace

Hi,

I've been successfully working with and building applications using the "freestanding" option in VSCode.

However, now comes a time where I want to switch over to a west workspace, so that I can include external libraries (i.e. the anjay sdk for LWM2M), however I'm unable to create even a basic hello world sample. Settings are as following:

After pressing "Create Application" I get the following error in the terminal:

[west]: updating /home/leon/Desktop/ivy/code/ivy-iot/iot/sensor/firmware/workspace/hello_world...

[west]: === updating sdk-nrf (nrf):
[west]: --- sdk-nrf: initializing
[west]: warning: templates not found in /home/leon/ncs/toolchains/v2.1.2/usr/share/git-core/templates
[west]: Initialized empty Git repository in /home/leon/Desktop/ivy/code/ivy-iot/iot/sensor/firmware/workspace/nrf/.git/
[west]: --- sdk-nrf: fetching, need revision v2.2.0
[west]: fatal: unable to find remote helper for 'https'
[west]: FATAL ERROR: command exited with status 128: fetch -f --tags --depth 1 -- https://github.com/nrfconnect/sdk-nrf v2.2.0

[west]: exited with code 128.

I'm running Ubuntu 20.04. Any idea how to fix this? git is already up to date (git version 2.25.1). I can clone any other https repository just fine.

Any idea on how to fix this?

Parents Reply Children
  • Hi Elfving,

    it's indeed the same issue. I currently have v2.1.2 and v2.2.0 installed, I can try removing the v2.1.2.
    I have also updated the SDK and toolchain.

    ... After removing all other versions, it looks in the v2.2.0 directory, but the error is the same.

    [west]: updating /home/leon/Desktop/ivy/code/ivy-iot/iot/sensor/firmware/workspace/hello_world...
    
    [west]: === updating sdk-nrf (nrf):
    [west]: --- sdk-nrf: initializing
    [west]: warning: templates not found in /home/leon/ncs/toolchains/v2.2.0/usr/share/git-core/templates
    [west]: Initialized empty Git repository in /home/leon/Desktop/ivy/code/ivy-iot/iot/sensor/firmware/workspace/nrf/.git/
    [west]: --- sdk-nrf: fetching, need revision v2.2.0
    [west]: git: 'remote-https' is not a git command. See 'git --help'.
    [west]: FATAL ERROR: command exited with status 128: fetch -f --tags --depth 1 -- https://github.com/nrfconnect/sdk-nrf v2.2.0
    
    [west]: exited with code 128.
    

  • leon_ivy said:
    After removing all other versions, it looks in the v2.2.0 directory, but the error is the same.

    But you previously also selected both 2.2 for both toolchain and SDK?

    I am not able to reproduce it here.

    Have you tried what is being suggested on this stackoverflow thread?

    Regards,

    Elfving

Related