When calling "pnpm sst dev" and entering the AWS MFA, I get the following error:

This error occurs running on node18.
On node16 it works and no error is shown. Instead the question is displayed again, after submitting.
I think the reason for this is nodejs/node#42464.
My env:
"sst": "2.0.23"
$ node --version
v18.14.0
$ pnpm --version
7.27.0
bash --version
GNU bash, version 5.2.15(1)-release (x86_64-apple-darwin21.6.0)