I have a slightly different error when uploading to the board
Target folder: D:\FlowCode_project
Source name: D:\FlowCode_project\Flowcode1.fcfx
Title:
Description:
Device: ESP.ESP32.ESP32_WROOM_32
Generated by: Flowcode v9.0.0.23
Date: Saturday, January 16, 2021 05:30:14
Users: 1
Registered to: maatanen (maatanen)
Licence key: at>
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "C:\Users\Maatanen\Desktop\esp-idf\" "Flowcode1" "D:\FlowCode_project\" esp32s_sdkconfig
Building Flowcode1 ...
Setting IDF_PATH: C:\Users\Maatanen\Desktop\esp-idf
Adding ESP-IDF tools to PATH...
C:\Users\Maatanen\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin
C:\Users\Maatanen\.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin
C:\Users\Maatanen\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin
C:\Users\Maatanen\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin
C:\Users\Maatanen\.espressif\tools\cmake\3.16.4\bin
C:\Users\Maatanen\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin
C:\Users\Maatanen\.espressif\tools\ninja\1.10.0\
C:\Users\Maatanen\.espressif\tools\idf-exe\1.0.1\
C:\Users\Maatanen\.espressif\tools\ccache\3.7\
C:\Users\Maatanen\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64
C:\Users\Maatanen\.espressif\python_env\idf4.2_py3.7_env\Scripts
C:\Users\Maatanen\Desktop\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\Users\Maatanen\Desktop\esp-idf\requirements.txt are satisfied.
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
idf.py build
[0/1] Re-running CMake...
FAILED: build.ninja
D:\FlowCode_project\.espressif\tools\cmake\3.13.4\bin\cmake.exe -SD:\FlowCode_project\Flowcode1 -BD:\FlowCode_project\Flowcode1\build
CreateProcess failed: The system cannot find the file specified.
ninja: error: rebuilding 'build.ninja': subcommand failed
Executing action: all (aliases: build)
Running ninja in directory d:\flowcode_project\flowcode1\build
Executing "ninja all"...
ninja failed with exit code 1
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1
Autoclose turned off
FINISHED
I can't understand what is the reason.