Cannot upload code for arduino and esp8266 nodemcu

I am making a smart scale using 2 loadcells, arduino and a nodemcu (esp8266). I want to send the data to a remote server. I am trying to upload the attached code to arduino but a lot of errors are thrown at me while compiling. Please view the two attached files. Some one please guide me as I’m a new to iot. Thanks in advance.

sketch_nov16c.ino (2.27 KB)

log.txt (27.9 KB)

Post your formatted code in code tags.

post the error messages.