I am getting the following error when trying to use yo @microsoft/sharepoint
Error @microsoft/sharepoint
This generator (@microsoft/sharepoint:app) requires yeoman-environment at least 3.0.0, current version is 2.10.3, try reinstalling latest version of 'yo' or use '--ignore-version-check' option
I have reinstalled the lastest version and can see that the current and wanted version matches when I use the command npm -g outdated
.