Error when compiling for board

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\libraries\firebase-arduino-master\src/Firebase.h:30,

                 from C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:22,

                 from C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\max30100_n_ds18b20\max30100_n_ds18b20.ino:8:

C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseObject.h:109:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

  109 |     std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;

      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                             

In file included from C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:22,

                 from C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\max30100_n_ds18b20\max30100_n_ds18b20.ino:8:

C:\Users\ACER.IJ4N6-87LBR5K\Documents\Arduino\libraries\firebase-arduino-master\src/Firebase.h:86:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6

   86 |   std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;

      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                               

exit status 1

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

Which version of ArduinoJson do you have installed ?

Make sure you install the package core for your board first before trying to program it. Check https://create.arduino.cc/projecthub/najad/using-arduino-ide-to-program-nodemcu-33e899 and Installing ESP8266 in Arduino IDE (Windows, Mac OS X, Linux) | Random Nerd Tutorials

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