• 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

LittleFS Error: mklittlefs not found!

Q&A Forum › Category: Arduino › LittleFS Error: mklittlefs not found!
0 Vote Up Vote Down
Stephen Harrison asked 4 years ago

I am getting the title line error when attempting to upload a file to my esp8266 board via the Arduino IDE. I believe I have followed the instructions and I cannot find anything to help resolve this issue.

14 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
What menu do you have in the Arduino IDE to upload files?
Does it say “ESP8266 LittleFS Data Upload”?
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 4 years ago

Correct

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

Hi again.
Do you have more information about the error?
Can you try installing the latest version of the LittleFS plugin if you haven’t already: https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/blob/master/README.md?
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 4 years ago

As per the ebook Build Web Servers esp32 esp8266, it goes through this progression.
install Arduino IDE – had it prior to ebook
install ESP8266 addons – board has been installed prior to ebook
setup to use LittleFS: get the latest code. I downloaded ESP8266LittleFS-2.6.0 I created this folder path as it did not exist: >/tools/ESP8266FS/tool/. I unzipped the .jar file to this location and started up the Arduino IDE. It then says to open a blank sketch and save it. I then went to that sketch, created a data folder and made a text file within it. I complied the sketch. I then changed the flash size to 4M (1M SPIFFS). After that, I hit the EPS8266 LittleFS Data Upload and I get the error in the compile window.
 

0 Vote Up Vote Down
Stephen Harrison answered 4 years ago

I did download this zip file but saw no mention of having to use it. arduino-esp8266littlefs-plugin-2.6.0

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

Hi again.
Can you tell me the complete path where you created the tools folder?
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 4 years ago

Thanks for trying to help resolve this issue!

C:\Users\Stephen\Documents\Arduino\tools\ESP8266LittleFS\tool

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

Hi.
It seems that you did everything right.
I don’t know why it is not working as expected.
Meanwhile, I found an issue with that same error on the Plugin GitHub page. Maybe you can post your case there too. 
Here’s the link:
https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/15
I hope they can help you.
Otherwise, I recommend uninstalling everything, including your Arduino IDE installation, and start from the beginning.
Regards,
Sara

0 Vote Up Vote Down
Stephen Harrison answered 4 years ago

Hi Sara. I finally found the solution. I installed the core according to this website:
https://arduino-esp8266.readthedocs.io/en/latest/installing.html#using-git-version
Just thought I would share in case someone else asked a similar question

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

Hi.
That’s great!
I’m glad you found the solution, and thanks for sharing!
This can be useful for others too.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

0 Vote Up Vote Down
Edward Mulder answered 4 years ago

Hi, I had the same problem. I tried installing the ESP8266 library V2.6.3 and that solved the problem.

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

Hi Edward.
Thanks for sharing your feedback.
It is probably some incompatibility with the ESP8266 add-on version.
Regards,
Sara

0 Vote Up Vote Down
ecarter1024 answered 4 years ago

Seems to be OK with esp8266 board  version 3.02

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

Great!
This issue is closed now.

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] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

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

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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.