• 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

Arduino IDE 2.3.3 stuck downloading package_esp8266_index.json, won’t compile code

Q&A Forum › Category: ESP8266 › Arduino IDE 2.3.3 stuck downloading package_esp8266_index.json, won’t compile code
0 Vote Up Vote Down
Bruce Develle asked 6 months ago

I opened a file in Arduino IDE (2.3.3) and the IDE started downloading package_esp8266com_index.json. After I clicked the compile sketch button, It also showed that it was compiling my sketch but nothing was being done – no lines in the output window (see attached screenshot). I tried searching the internet but nothing helped. The posts I saw about this issue were years old. Any thoughts?

https://drive.google.com/file/d/1MqFnlEFW557BiIEDV8Hl7v4_sDDPTazg/view?usp=sharing

Question Tags: Arduino IDE, ESP8266
4 Answers
0 Vote Up Vote Down
Bruce Develle answered 6 months ago

I found a solution that worked from the Arduino.cc forum. It is reprinted below. The solution is to delete 2 folders found in your ‘User’ directory and ‘\User\AppData\roaming’ directory in Windows, and then re-start Arduino IDE. It might also be that the folders have the ‘read-only’ attribute set, at least it was set on my folders. It seems this problem has occurred for many versions of Arduino IDE, not just 2.3.3. It just happened to occur for me when I upgraded to 2.3.3.

Hi @hannmend. It is possible the problem is caused by some problem in the Arduino IDE application configuration data. If so, it should be possible to restore the IDE to functionality by deleting the folders where the data is stored. This will force Arduino IDE to automatically regenerate the default configuration data.
Please try this:

:warning: The folders to be deleted do not contain any of the data for your sketch projects so deleting them should not result in the loss of any irreplaceable data. However, please always be careful when deleting things from your computer. When in doubt, back up!

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Delete the folder at the following path:
    C:\Users\<username>\.arduinoIDE\
    

    (where <username> is your Windows username)

  3. Delete the folder at the following path:
    C:\Users\<username>\AppData\Roaming\arduino-ide\
    

    (where <username> is your Windows username)
    :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows “File Explorer“, you can make it visible by opening the “View” menu, then checking the box next to “☐ Hidden items“.

Now start Arduino IDE again. Hopefully this time it will start up fully.

:exclamation: The Arduino IDE preferences will have been reset to their default values. If you had previously made any customizations to the preferences (e.g., the “Additional Boards Manager URLs” preference) then you will now want to reconfigure the IDE as necessary.

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Hi.
Thanks for sharing this solution.
I was also having a similar problem but with the ESP32 downloads.
Thank you.
Regards.
Sara

0 Vote Up Vote Down
Bruce Develle answered 6 months ago

UPDATE and ADDITIONAL SOLUTION: I had this problem again, so I deleted the Arduino directories as above but that did not resolve the issue. So I asked Microsoft Copilot and it gave the solution of closing the serial monitor when libraries are being downloaded. This worked. As soon as I closed the Serial Monitor the downloads resumed and completed. According to Copilot, this is a bug in version 2.3.3.

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Thanks for sharing the solution.
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

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.