Hi @dj_math. There is a known bug in Arduino IDE 2.1.0 that causes this to happen when the sketch is stored on a drive other than C:\ on your computer:

The workaround is to store your sketches on your C:\ drive.

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.