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
  • Hello again,

    I assume then that you are facing the same issue as you were earlier in this post?

    Like my colleague Naaem suggested, could you try updating the SDK and toolchain? And are you sure you've selected both toolchain and SDK to v2,0.0 when you got the error message you provided? It is searching in the 2.1.2 toolchain, which is a bit interesting.

    Regards,

    Elfving

  • 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.
    

Reply
  • 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.
    

Children
Related