• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Error PlatformIO – Building Filesystem Image

Q&A Forum › Category: ESP32 › Error PlatformIO – Building Filesystem Image
0 Vote Up Vote Down
karl.jan.skontorp asked 5 days ago

Hello to all of you! This is my first entry to the forum, and I hope somone can help me. I have got the great new Build Web Servers and trying som of the projects. I’m not familiar with the PlatformIO, but I’m trying to learn!
I have copied all files from build-web-servers-ebook-main.zip to the Documents\PlatformIO\Projects into a folder called “build-web-servers-ebook-main”
Then I start PlatformIO and and select PIO Home and use the option “Open Project” and in the window appearing, I navigate (via Project) to find a project to open. I open the folder “2_2_Multiple_Outputs_Toggle_Switch” and click the option “2_2_Multiple_Outputs_Toggle_Switch” next to “Cancel”.
So far, everything is ok, and also compiling the source code is ok. The problem occurs when I try to “Build Filesystem Image”, I get the following error:
“Building in release mode
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″
The folder “data” is ok and the favicon, html-, css- and js-files are all inside the data folder.
Any of you have suggestions to solve the problem, what am I doing wrong?
 
Hope to hear from you soon!
BR
Karl Jan

2 Answers
0 Vote Up Vote Down
karl.jan.skontorp answered 5 days ago

Problem solved!
Just to inform you all that the problem I described 20 minutes ago is just solved!
When I removed other projects from the workspace in PlatformIO, the function “Build Filesystem Image” worked without any problems. I don’t know the reason why, but I think the data-folder was mixed up with another project not having the data-folder. Never mind, now it workes and I’m happy!
 
Karl Jan

0 Vote Up Vote Down
Sara Santos Staff answered 4 days ago

Great!
I’ll close this issue.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2021 · RandomNerdTutorials.com · All Rights Reserved