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:

  1. Go to project and run amplify add api
  2. Choose Graphql
  3. Try to type name…freezes
  4. 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

Most upvoted comments

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.