Yes, that seems to have solved it:
Thank you. Seems it all boils down to installing Yarn with NPM rather than with the .msi they provide.
Does this mean yarn is not installed globally?
I have always used the .msi download from classic.yarnpkg.com to install and upgrade yarn.