Unable to build and upload SPIFFS filesystem image with framework esp-idf

With thanks to Sara Santos at RandomNerdTutorials.com, an answer which has worked for me is as follows:

With your project opened in VS Code, go to View > Pallete . Then, write: >Refresh project tasks and select that option as shown below.”

(And thanks to Max for your suggestions.)

image

Finally, check for updates.

Then, check if the Platform Tasks to upload an image to the filesystem were updated.