Your original post was being ran from Windows? WSL is a requirement for folks on Windows as noted in the docs
From WSL, what are the results of yarn build --storage .storage
?
What Node version? What Yarn version? Are you running these commands from an unmodified Sage 10 installation?