Thanks @maxgerhardt for your quick support, I am using 2.0.14
But the issue was that I had an old version of Arduino-ESP32. After much looking I found your answer in this post freertos/FreeRTOS.h: No such file or directory
Additionally I added #include <Arduino.h> in the includes of my main.cpp
Thanks for your support!