Currently Strapi does not support pnpm and you run into errors when trying to use it. I think Strapi should support pnpm as it saves up on disk space and development time when creating new Strapi projects. This would close https://github.com/strapi/strapi/issues/15511. There was a little talk about supporting it here: https://github.com/strapi/strapi/issues/9604#issuecomment-792996220.