How to fix SPIFFS_write error(-10001): File system is full.

Are you using Angular and seeing this error message? SeeĀ How to make Angular work with ESP32 SPIFFS / ESPAsyncWebserver

The error message

SPIFFS_write error(-10001): File system is full.

should be mostly self-explanatory:

The files you are trying to put into the image exceed the maximum size of the filesystem image.

There are two possible solutions: