"Verify", "Upload", Library & Boards Manager not working

Had installed rc7 in windows10, both "verify" & "upload" not responding (i had the verbose option ticked in preference). And library & board manager doesn't return any result when I try to search, not usable.

Thanks for your report @ydski. I'm sorry to hear you are having troubles with Arduino IDE 2.0.0-rc7.

Please try this:

  1. Select File > Quit from the Arduino IDE menus.
  2. Start the Arduino IDE again.

Does it work as expected after doing that? I have sometimes experienced a similar problem, which was always fixed by a restart. I have never managed to determine the conditions required to produce the issue, which makes it very difficult to investigate.

I'd tried as suggested, no luck. I'd uninstalled and reinstall, then run as administrator, same too, can't detect the serial port too. So, I revert to rc6, and everything back to work again, verified my windows machine & board are okay.

I'm going to ask you to post some additional information that might help us to identify the problem.

Please do this:

  1. Start Windows "File Explorer".
  2. Open the Arduino IDE 2.0.0-rc7 installation folder.
    (usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type the following command:
    & ".\Arduino IDE"
    
  6. Press the Enter key.
    Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  7. Wait for the Arduino IDE to finish starting, or failing to start.
  8. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  9. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  10. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  11. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  12. Open a forum reply here by clicking the Reply button.
  13. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  14. Press Ctrl+V.
    This will paste the output into the code block.
  15. Move the cursor outside of the code block markup before you add any additional text to your reply.
  16. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

Thanks. That was very useful. I see the problem here:

There was a bug in the ESP8266 Arduino boards platform:

That bug was fixed a year ago, but you are using a very outdated version of the platform that still has the bug.

It seems that somewhere between 2.0.0-rc6 and 2.0.0-rc7, the IDE's ability to gracefully handle broken platforms like this was lost. I will investigate whether we can restore that resiliency.

But for now the fix for you will be to simply update to the version of the platform with the bug fixed. I'll provide instructions:

  1. Select File > Quit from the Arduino IDE menus if it is running.
  2. Start Arduino IDE 2.0.0-rc6.
  3. Open "Boards Manager"
  4. Find "esp8266 by ESP8266 Community" in the list of boards platforms. Click on it.
  5. Make sure "3.0.2" is selected from the version menu on the esp8266 platform listing.
  6. Click the INSTALL button.
  7. Wait for the install operation to finish.
  8. Select File > Quit from the Arduino IDE menus.
  9. Start Arduino IDE 2.0.0-rc7.

Hopefully 2.0.0-rc7 will now be working. As a bonus, you will have the latest and greatest version of the ESP8266 boards platform installed.


Please let me know if you have any questions or problems while following those instructions.

Thanks for your help. Rc7 is working now. A small difference from your step #5 is, the 8266 board version is 2.6.3, so what I did is uninstall this (no other version to choose anyway) in rc6. Then install rc7, and everything work now. I noticed that rc7 is also more responsive in overall (compare to rc6).

I'm very glad it is working for you now!

This means you do not have the "Boards Manager URL" of the ESP8266 Arduino boards platform of your "Additional Boards Manager URLs" preference. In that case, Arduino IDE 2.x only shows the currently installed version as available.

Arduino IDE 1.x and Arduino IDE 2.x have different, independent preference storage systems so it is necessary to manually transfer your "Boards Manager URLs" when migrating from 1.x to 2.x.

If you have no need for the ESP8266 Arduino boards platform then it is perfectly fine to simply leave it uninstalled. In case you do want to use ESP8266 boards with Arduino IDE 2.x, I'll provide instructions:

  1. Get the current "Boards Manager URL" from the ESP8266 platform's official documentation here:
    GitHub - esp8266/Arduino: ESP8266 core for Arduino
    (it is https://arduino.esp8266.com/stable/package_esp8266com_index.json at the time I write this, but these URLs sometimes change so it is best to get it from the documentation)
  2. Select File > Preferences... from the Arduino IDE menus.
  3. Type the URL into the "Additional Boards Manager URLs" field.
    If there are already "Boards Manager URLs" in the field, separate them with commas.
  4. Click the OK button.
  5. Select File > Quit from the Arduino IDE menus.
  6. Start the Arduino IDE.
    This restart is required due to a known bug in Arduino IDE 2.x.
  7. Open "Boards Manager"
  8. Find "esp8266 by ESP8266 Community" in the list of boards platforms. Click on it.
  9. Make sure "3.0.2" is selected from the version menu on the esp8266 platform listing.
  10. Click the INSTALL button.
  11. Wait for the install operation to finish.

This bug is now being tracked by the Arduino IDE developers here:

There is already a proposed fix here:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.