Having problems with connecting nodemcu to google firebase

Hello...I am trying to connect my nodemcu to google firebase for a project... the code is not compiling. it is showing this error message

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp: In member function 'bool MultiPathStreamData::get(const String&)':

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp:59:11: error: 'class String' has no member named 'clear'

     value.clear();

           ^

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp:60:10: error: 'class String' has no member named 'clear'

     type.clear();

          ^

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp:61:14: error: 'class String' has no member named 'clear'

     dataPath.clear();

              ^

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp: In member function 'void MultiPathStreamData::empty()':

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp:133:14: error: 'class String' has no member named 'clear'

     dataPath.clear();

              ^

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp:134:11: error: 'class String' has no member named 'clear'

     value.clear();

           ^

C:\Users\User\Documents\Arduino\libraries\Firebase_ESP8266_Client\src\rtdb\stream\FB_MP_Stream.cpp:135:10: error: 'class String' has no member named 'clear'

     type.clear();

          ^

Multiple libraries were found for "SD.h"

 Used: C:\Users\User\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.1\libraries\SD

 Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\libraries\SD

exit status 1

Error compiling for board NodeMCU 1.0 (ESP-12E Module).



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

pls help

Im following this video for reference...

Please read and follow the advice given in the topic How to get the best out of this forum.

You can spell it: Autoformat the code in the IDE, use code tags here, 6:th symbol in this window, </>, and paste.

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