VSCode installation doesn't work. (Ninja not found)

camztouch
Posts: 5
Joined: Sat May 09, 2020 8:13 pm

VSCode installation doesn't work. (Ninja not found)

Postby camztouch » Fri Aug 06, 2021 12:36 pm

Hello,
I did a clean install of Windows and VSCode. There were no errors while installing, but when I try to build something, i get this error:

Code: Select all

> Executing task: cmake --build . <

ninja: error: loading 'build.ninja': The system cannot find the file specified.

The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake --build ." terminated with exit code: 1.
On my other machine I did the exact same, there it worked. I have no idea how to fix this, maybe you could help me.

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: VSCode installation doesn't work. (Ninja not found)

Postby ESP_bignacio » Mon Aug 09, 2021 6:53 am

Can you share more information about your system?

Take a look at troubleshooting for a list of outputs and the log file to share.

camztouch
Posts: 5
Joined: Sat May 09, 2020 8:13 pm

Re: VSCode installation doesn't work. (Ninja not found)

Postby camztouch » Mon Aug 09, 2021 6:39 pm

System is a fresh install of Windows 10 Pro 21H1.

I solved the problem by installing the ESP-IDF manually to the exact same location as the extension would have done. Works fine.

Who is online

Users browsing this forum: No registered users and 16 guests