The SPIFFS library is deprecated (see: https://arduino-esp8266.readthedocs.io/en/2.7.4_a/filesystem.html). The format-program should use LittleTF i.s.o. SPIFFS.