-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amplify cli 1.7.4 freezes when adding graphql api #1688
Comments
I tried to do amplify configure, but when I am asked to add a user, the CLI is also frozen. Not sure what is going on here but it seems like it is waiting on a request from the AWS service which is maybe pending? I have completely removed amplify globally, I checked that my npm and node are up to date. Not sure what else to try. Update: |
Same is happening with me when I'm trying to add environment using Amplify CLI 1.7.4
So when I try to enter the name of the environment it freezes |
I am seeing the same thing when running 'amplify configure' after updating to 1.7.4. It was working fine in 1.6.5. It is getting stuck after i select a 'region' during the configure steps. Running on OSX 10.12.6 with iTerm2. |
So when I run it on my private laptop, it doesn't freeze, so it is not my AWS username or anything like that. Also, I installed amplify yesterday and it is running at 1.7.4. |
I'm having the same trouble - it worked fine 6 days ago when I was running through a tutorial. Tonight I go to set up a new project and 'amplify configure' askes for the region, then username and freezes :( |
I get the same running |
I'm also getting this during |
I can confirm that @aws-amplify/cli version 1.7.4 started freezing after the upgrade. It freezes after passing through any first command. |
Same here with amplify configure/init (1.7.3 and 1.7.4). It stucks on the second question. The process can be killed from another console with kill -9 PROCESS_ID. I didn't found any error message. |
we root-caused this issue and it is due to a bug in one of the dependencies we wil lock the version and roll out a fix soon |
FWIW: It's also happening with |
pin inquirer version to 6.3.1 fix aws-amplify#1688
It happens if there is a fresh installation of the inquirer package |
pin inquirer version to 6.3.1 fix #1688
We've fixed this issue. Please install the latest version of the CLI (v 1.7.5) which has this fix. |
Thanks Amplify team for the quick fix! |
I am still experiencing this issue in the CLI version (1.8.2) @kaustavghosh06 |
Still happens on version @aws-amplify/[email protected] amplify push |
It's happening to me as well, using version 4.17.1 |
amplify push Fetching updates to backend environment: master from the cloud.(node:19797) UnhandledPromiseRejectionWarning: CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 |
Are you behind a corporate proxy? If so, this can be related to the Usage Data collection, which is being sent to the Internet each time you execute an amplify command. In my case opting out helped:
|
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
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:
amplify add api
Expected behavior
I expect to be able to type the name
Desktop (please complete the following information):
-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.
The text was updated successfully, but these errors were encountered: