arduino firebase pinmode set up

 #include <ESP8266WiFi.h>
#include <FirebaseArduino.h>

#define FIREBASE_HOST "test.firebaseio.com"
#define FIREBASE_AUTH "*********"

#define WIFI_SSID "OmAr"
#define WIFI_PASSWORD "*********"

const int  buttonPin = 8;    

void setup() {
 pinMode(buttonPin, INPUT);
 Serial.begin(9600);
 WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
 Serial.print("connecting");
 while (WiFi.status() != WL_CONNECTED) {
   Serial.print(".");
   delay(500);
 }
 Serial.println();
 Serial.print("connected: ");
 Serial.println(WiFi.localIP());
 Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
 Firebase.setInt("clicks",0);
}

void loop() {
 
}

this code not gives like this error in serial monitor :
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vbb28d4a3
~ld

but when i remove the pinMode(); it warks well, it does not give any error to get and send data on firebase, i am using arduino UNO and eps8266 wifi module how can i solve this problem
f⸮⸮

What is "firebase"? Post a link to the library.

What Arduino are you using?

What project are you trying to create?

What have you connected to your Arduino?

...R