Updating the eas-cli version (12.6.1) to version 12.5.2 fixed the problem for me. Just run the command:
npm install -g eas-cli or npm install eas-cli
and it is supposed to work