I’ve got same problem and got this error too, but in my case this error shows when i’m trying to run composer install or composer update.
and i solve this issue by running composer self-update. it works on my project.
I’ve got same problem and got this error too, but in my case this error shows when i’m trying to run composer install or composer update.
and i solve this issue by running composer self-update. it works on my project.