This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

VS Code cannot create a project

I was trying to follow the video to create a project with VS Code. 

After I click the Create Application buttion, there is nothing happens. It only create a Folder with APP's name, but the folder is empty.
I have the admin right of the computer.

The folder created is empty

Installation path of nRF Connect

Parents
  • Hi Leo,

    Could you try creating the application in the same path as the nRF Connect for Desktop? I have my  nRF Connect SDK at the location C:\NCS and I create my applications in the location C:\NCS\VSC

    You could find the location of your nRF Connect SDK by following : nRF Connect for Desktop -> Toolchain Manager -> Settings

    Hope this helps and let me know how it goes.

    Kind Regards,

    Priyanka

  • I tried. It seems not success. I tried to reinstall both NCS and VCS, still not good

  • I understand. Have you done the following too and then tried VS Code?

    Priyanka said:

    Also, do you have the latest nRF Command Line Tools installed ? nRF Command Line Tools 10.15.0

    If not, kindly install the latest version and update me with the progress.

  • Hi PK, 

    I tried both 10.14.0 and 10.15.0. It still doesn't work

  • Hi,

    Could you try opening the command prompt from the Toolchain Manager in nRF Connect SDK and take it to the nrf location? For eg, my nRF Connect SDK location is at C:\NCS and when I open command prompt, it points at C:\NCS\v1.7.1>

    Then, use "cd nrf "and enter the nrf folder. Then you could try entering the "git checkout v1.7.1" (in your case, v1.7.0) followed by "west update". This will download all necessary documents, (if not already installed with the nRF Connect SDK).

    After this you could try creating the application once again and let me know how it goes. In case you get any further errors do attach the screenshot of the same.

    Kind Regards,

    PK

  • Hi pk, 

    I can follow your step by open cmd in within Toolchain Manager. But it still doesn't work .... 
    whatever ......

  • Hi,

    We can try checking whether it is an issue with permissions. Try creating the application once again and after you click on Create Application, if you open the developer tools in VS Code (Help > Toggle Developer Tools), an error should happen with the file copy.

    There will be some error indicated, like:

    {errno: -13, code: "EACCES", syscall: "mkdir", path: "..."}

    Kindly try this and share your screenshot with me so that we can analyse the issue.

    Regards,

    PK

Reply
  • Hi,

    We can try checking whether it is an issue with permissions. Try creating the application once again and after you click on Create Application, if you open the developer tools in VS Code (Help > Toggle Developer Tools), an error should happen with the file copy.

    There will be some error indicated, like:

    {errno: -13, code: "EACCES", syscall: "mkdir", path: "..."}

    Kindly try this and share your screenshot with me so that we can analyse the issue.

    Regards,

    PK

Children
Related