M5stack libraries compile error only on cloud editor

I cannot include any libraries for M5stack (ESP32) through the cloud editor. I can run example files, I can include libraries on the Arduino IDE on my pc, but not on the cloud editor.
When I add the code "#include "
The error I receive is "error: macro "setAttribute" passed 2 arguments, but takes just 1
void setAttribute(uint8_t id = 0, uint8_t a = 0);"

I have successfully created a connection to IOT with an M5stack TOUGH reading temperature, but I cannot add the libraries I need for the touchscreen.

So basically I can either use the display, or use Arduino IOT, not both.

Solved.
Turns out all I had to do was include the "M5Tough" library before any others.

You can mark your topic as solved by clicking the solution button under the most useful reply ( yours :wink: ) to let others that might experience the same problem know that a solution was found / provided.