Build error in VS code

Hi,

      I am using VS code for my project, which is using bl653 board. While in  build configuration setup in vs code am getting this error. ERROR: source directory - does not exist
FATAL ERROR: refusing to proceed without --force due to above error . May I know the reason even though i followed may tutorials am not able to figure out the issue , i.e. build configuration . Note - am using Windows environment. With nRF connect desktop , VS Code. 

  • Hello, 

    Difficult to tell what is the issue here without a more elaborate description. Can you please provide information about you installation i.e. what version of NCS, what paths you are using, etc. You can run the nRF Connect: Generate support information from the Command Palette of VS Code. Please copy and paste here. 

    Thanks. 

    Kind regards,
    Øyvind

  • hi , thanks for response. that issue got solved. basically toolchain issue which was not installed completely.

  • I have this problem too, but no clear indication of the cause. I have my support information below

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    {
    "platform": {
    "os": "win32",
    "osVersion": "Windows 10 Home",
    "osKernel": "10.0.19044",
    "vscode": "1.67.2",
    "electron": "17.4.1",
    "node": "v16.13.0"
    },
    "system": {
    "date": "2022-05-24T19:05:11.126Z",
    "vscodeRoot": "c:\\Users\\Scott\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "00:07:46",
    "osUptime": "00:22:12",
    "cpu": {
    "model": "11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz",
    "speed": "2803 MHz",
    "count": 4
    },
    "memory": {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • I have this problem too, but no clear indication of the cause. I have my support information below

           delete all the build files ,if you have any and check the toolchain and sdk.  Try pristine build 

  • And please try to move your projects to a folder without white space. i.e. "c:\\Users\\Scott\\Documents\\Visual Studio\\MyBlinky"

1 2