amplify-cli: amplify cli 1.7.4 freezes when adding graphql api
Describe the bug
Amplify 1.7.4
Running amplify add api and then choosing GrahpQL freezes terminal. I cannot type a api name or kill the process.
To Reproduce Steps to reproduce the behavior:
- Go to project and run
amplify add api - Choose Graphql
- Try to type name…freezes
- See error
Expected behavior I expect to be able to type the name
Desktop (please complete the following information):
- OS: OSX 10.14.5 -Terminal
Extra context I was running 1.6.9 but any version new then that is having the same issue. I am going back to 1.6.9 and see what happen and maybe reboot my mac?
Update: even 1.6.9 now is freezing. Will try reboot first. Issue not resolved. The CLI is hanging because some unknown reason.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (3 by maintainers)
Commits related to this issue
- fix(cli): fix inquirer version pin inquirer version to 6.3.1 fix #1688 — committed to UnleashedMind/amplify-cli by UnleashedMind 5 years ago
- fix(cli): fix inquirer version (#1690) pin inquirer version to 6.3.1 fix #1688 — committed to aws-amplify/amplify-cli by UnleashedMind 5 years ago
Thanks Amplify team for the quick fix!
@damianrr
It happens if there is a fresh installation of the inquirer package
We’ve fixed this issue. Please install the latest version of the CLI (v 1.7.5) which has this fix.