Code won't verify or upload, no matter what!

Hi everyone! I just got an ESP32 board for testing and thinkering with it, but I cannot upload any code to it. The board: ESP32-WROOM.
I get a fatal error message:

Fatal error: can't create C:\Users\User\AppData\Local\arduino\sketches\A89BA55E8F79574909E99111D23AA3D4\sketch\test.ino.cpp.o: No such file or directory

Things I've tried already:
-reinstall esp32 in board manager
-delete temp files
-shorter path to the sketch
-the test.ino.cpp.d is in the sketch folder
-reinstall the IDE
-run with PIO
-switching COM ports
-trying other board types
-trying other examples
-trying other librarys

Please help if anyone has an idea, because I am used to UNOs, and NANOs, troubleshooting those went fine.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.