• 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

ESP32 DHT11/DHT22 Web Server – Temperature and Humidity using Arduino IDE

Q&A Forum › Category: ESP32 › ESP32 DHT11/DHT22 Web Server – Temperature and Humidity using Arduino IDE
0 Vote Up Vote Down
oh_hyunseok asked 6 years ago

I got below error while I did upload.

I couldn’t fix. Can you please help?

 
Arduino: 1.8.9 (Windows 10), Board: "NodeMCU-32S, 80MHz, 921600"
In file included from C:\Users\Hyun Suk O\Documents\Arduino\DHT22_Web_Server\DHT22_Web_Server.ino:8:0:
Multiple libraries were found for "ESPAsyncWebServer.h"
C:\Program Files (x86)\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:33:22: 
fatal error: AsyncTCP.h: No such file or directory
Used: C:\Program Files (x86)\Arduino\libraries\ESPAsyncWebServer
compilation terminated.
Not used: C:\Program Files (x86)\Arduino\libraries\AsyncTCP
exit status 1
Error compiling for board NodeMCU-32S.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi.

Delete the ESPAsyncWebServer library and the AsyncTCP library from your libraries folder.

Then, install these libraries again:
https://github.com/me-no-dev/ESPAsyncWebServer
https://github.com/me-no-dev/AsyncTCP

It should solve your problem.

Regards,
Sara

0 Vote Up Vote Down
oh_hyunseok answered 6 years ago

Hello Sara, thanks for your help.

But, in the serial monitor, it kept printing “Connection to WiFi..”.

I checked with other file. The internet was OK with other code. What did I do wrong?

Thank you,

Alex

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

Hi.
I don’t know why that happens. Did you insert your network credentials? Sometimes we forget to insert them and we get that message.
Now, you don’t get the other errors, right?
 

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.