I wish there was an easy way for this forum software to communicate “If you’re having an error with your build script, you have to provide the build script for anyone to have a chance to help you.”
Show us your build script.
Also, I know you said that running ANY task gets this failure, but please tell us which task you actually ran.