title: An error [ Error compiling for board NodeMCU 1.0 (ESP-12E Module) ] is occuring when I try to transfer the data values from NodeMCU to firebase
body: <p>I have transferred the values from Arduino mega to nodeMCU through serial communication. But I'm not able to transfer the values to firebase. An error is occuring -</p>
  
  <blockquote>
    <p>Error compiling for board NodeMCU 1.0 (ESP-12E Module) </p>
  </blockquote>
  
  <p>This is the code :</p>
  
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;ESP8266WiFi.h&gt;
  
  #include &lt;FirebaseArduino.h&gt;
  
  // Set these to run example.
  #define FIREBASE_HOST "https://agro-775df.firebaseio.com/"
  #define FIREBASE_AUTH "YRyEHN5YcQ4DSdviYX5ciiqWQBwQmhAIneFlcXbK"
  #define WIFI_SSID "vintage"
  #define WIFI_PASSWORD "barapi"
  
  String str;
  char bu[10];
  int one,two,three;
  int temp,humi;
  
  void setup() 
  {
  
    Serial.begin(115200);
  
    // connect to wifi.
    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);
  
     while(!Serial)uj{
  
     }
  }
  
  int n = 0;
  
  void loop() {
  
  if (Serial.available()) 
    {
      str=Serial.readString();
    }
    // set string value
    Firebase.setString("message",str);
    // handle error
    if (Firebase.failed()) 
  {
             Serial.print("setting /message failed:");
         ``    Serial.println(Firebase.error());  
              return;
    }
    delay(1000);
  }
  </code></pre>