I encountered an error when I use clasp command as below.
$ yarn clasp create clasp-project --rootDir ./src yarn run v1.7.0 Error retrieving access token: TypeError: Cannot read property 'expiry_date' of undefined error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I tried re-login and solved it.
$ yarn clasp logout $ yarn login