In my case there was an additional instance of the cl MSVC compiler command stuck running in the background, killing the process fixed the issue
cl