Trying to Build Filesystem Image of project 1_2_Hello_World_WS_SPIFFS, Terminal of Visual Studio Code shows:
Building SPIFFS image from ‘data’ directory to .pio\build\esp32doit-devkit-v1\spiffs.bin
error: can’t read source directory
*** [.pio\build\esp32doit-devkit-v1\spiffs.bin] Error 1
And under the folder .pio\build\esp32doit-devkit-v1, there is only the file “project.checksum”, which has a big number.
Were you able to build the Filesystem image before? Or is this the first time that you are trying it?
Are you creating the project yourself, or are you running the project directly from the folder provided with the course?
I was able to build the filesystem image before. With the project created by myself or with the project from the course’s folder it didn’t build. After deleting all the other projects from the Project folder, the Filesystem image was built.