ESP-IDF ninja: build stopped: subcommand failed. ninja failed with exit code 1

Sireesha
Posts: 5
Joined: Wed Nov 23, 2022 6:59 am

ESP-IDF ninja: build stopped: subcommand failed. ninja failed with exit code 1

Postby Sireesha » Wed Nov 30, 2022 6:39 am

Hi,
I am trying start working with ESP-IDF. Using get started guide I am trying to execute the basic hello_world program in ESP-IDF CMD from examples but while flashing I am getting below error.I attached error image. Can anyone suggest me how to solve this error.
Thanks in Advance.
Attachments
image.png
image.png (38.21 KiB) Viewed 2841 times

chegewara
Posts: 2207
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP-IDF ninja: build stopped: subcommand failed. ninja failed with exit code 1

Postby chegewara » Thu Dec 01, 2022 12:46 am

1. you should post more logs, which are before the one on picture
2. thats good you want to protect you user name, but the name may be the issue (probably not the case here), like in other topic recently, where user name was "m&m) and arduino IDE did not accept & in it

Sireesha
Posts: 5
Joined: Wed Nov 23, 2022 6:59 am

Re: ESP-IDF ninja: build stopped: subcommand failed. ninja failed with exit code 1

Postby Sireesha » Mon Feb 20, 2023 9:41 am

Thanks for the reply.

Solution for the issue:
Go to your IDF install location, and run .\export.bat in a terminal. That should load everything you need to build the code inside that particular terminal.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 108 guests