i solved it by updating from strapi 4.0.5 to 4.07 Migrate from 4.0.5 to 4.0.6 - Strapi Developer Docs
still very annoying to have to do this would have been easier if the default strapi installation would have installed a more up to date version
“npx create-strapi-app@latest my-project” is what i used