Installing toolchain - ENOENT: no such file or directory, open 'some_path/.west/config' (some_path)

Hello,

I fear that my toolchain and environment is seriously confused.

When i use the vs code extension sdk to install a toolchain or sdk i get the following message


[08:55:39] ENOENT: no such file or directory, open '$mypersonal_path/.west/config' ($mypersonal_path)
[08:55:41] nRF Command Line Tools 10.24.2 are up to date
[08:55:54] nrfutil-toolchain-manager install v2.7.0: Download toolchain

...

...

...

[west]: HEAD is now at 75d0880 tests: Update mps2 board name
[west]: HEAD is now at 75d0880 tests: Update mps2 board name

[west]: exited with code 0.

[09:02:20] ENOENT: no such file or directory, open '$mypersonal_path/.west/config' ($mypersonal_path)

I've gone into ~/ncs and I've run >grep mypersonal_path -ir *, and i cannot find a file that west would read and see that uses this path. SO how is it in the vscode sdk?

Regards,

Parents Reply Children
  • Hi,

    I will continue to help with this ticket.

    Did you follow the DevAcademy fundamentals tutorial on how to install the nRF Connect SDK?

    If not, I suggest that you go through it. It shows you every step, and many times before I have seen customers follow this and then find the step they had missed, fixing their install issue.

    $mypersonal_path

    This is an actual path, right? You have just edited it out for privacy reasons?

    Also, which version of the extension do you use?

    Do the install command do anything, such as making a new directory (often ~/ncs), or does nothing happen?

  • It seems to install and uninstall new toolchains and sdks correctly if i go through vscode or use the nrfconnect-appimage.

    It just seemed like somehow the build was trying to call in personal directory after the west update and (exit code 0)

    It's not bothering me ...and i will close this ticket.

    I cleared my trash and when i do sdk install of a random version...i no longer get the message.
    In addition to clearing my trash i also uninstalled the toolchains and reinstalled them.

    The only time I've consciously changed the west configuration was during intermediate course lesson 1, E1. Where i added the course repo. 


Related