When attempting to build Filesystem Image I get an error –
‘”mkspiffs_espressif32_arduino”‘ is not recognized as an internal or external command,
operable program or batch file.
*** [.pio\build\esp32doit-devkit-v1\spiffs.bin] Error 1
I see that others have had trouble with upload and that a fix was given but I do not see a solution to this problem in build.
Hi Sara,
I am following Build Webservers… 2.5 – WebSocket Web Server: Control Multiple Outputs.
I have tried both download and copy and paste versions.
I am using esp32doit-devkit -V1 with platformio.
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps = ESP Async WebServer
arduino-libraries/Arduino_JSON @ 0.1.0
This is the only folder in workspace
I have run blink successfully – which of course does not use spiffs- on this board.
Regards
Wally
Hi.
What operating system are you using?
Does this happen only with this project or other projects in the eBook as well?
It seems an issue with your computer/operating system.
I test it on my computer and it is working as expected.
Regards,
Sara
I have run other projects including this one using ESP8266. This is the first time using ESP32 and SPIFFS
I am using : Edition Windows 11 Home,
Version 23H2
Installed on 2023-10-20
OS build 22631.3880
Experience Windows Feature Experience Pack 1000.22700.1020.0
I found a description of a similar problem at
https://community.platformio.org/t/unable-to-build-image-by-using-spiffs-h/32900
but I cannot understand information or even it they resolved the problem.
I tried project 1.3 Hello World Webserver and had the same problem.
regards,
Wally
Hi.
Unfortunately, I don’t know what might be wrong.
This is the same problem as yours: https://community.platformio.org/t/cant-build-filesystem-image-sh-1-mkspiffs-espressif32-arduino-not-found-error-127/19295/3
But the solution doesn’t apply to your case.
I don’t know why you get that error or how to fix it. Maybe something wrong happened during the installation procedure, but it’s hard to tell.
Regards,
Sara
Sara
Perhaps I am a victim of some upgrade(s).
I tried using LittleFS instead of SPIFFS and it works fine. Because SPIFFS is deprecated and it doesn’t work for me it is best to go the LIttleFS route.
The changes are easy :
replace “SPIFFS” with “LittleFS” (do not include the quotes) for every occasion in main.cpp and
add board_build.filesystem = littlefs to platform ini
Thank you for your help.
regards Wally