Skip to content
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 Add API hanging #429

Closed
wizage opened this issue Nov 10, 2018 · 4 comments
Closed

Amplify Add API hanging #429

wizage opened this issue Nov 10, 2018 · 4 comments
Assignees
Labels
bug Something isn't working dependency-issue Issue with another dependency used

Comments

@wizage
Copy link
Contributor

wizage commented Nov 10, 2018

Describe the bug
When adding an API for Graphql and you edit your model using VSCode it will hang until you close the VSCode window.

To Reproduce
Steps to reproduce the behavior:

  1. Default editor is set to VSCode
  2. Set up an API and when you get to editing your model it will open VSCode
  3. Change your model and then save the file
  4. Hit enter in the terminal and it will go through and create the backend folder.
  5. Observe the backend folder is created but it won't end the command until VSCode is closed.

Expected behavior
The API command will exit when you hit enter to continue.

Desktop (please complete the following information):

  • OS: Mac
@kaustavghosh06 kaustavghosh06 added the investigating This issue is being investigated label Nov 12, 2018
@kaustavghosh06
Copy link
Contributor

@wizage I wasn't able to reproduce the issue with the version of my VSCode. Which version of VSCode are you using and does this happen repeatedly?

@wizage
Copy link
Contributor Author

wizage commented Nov 13, 2018

We are able to reproduce the error following these steps on VSCode 1.29.0 on Mac:

Make sure that VSCode is closed (not running):

  1. amplify init -> select VSCode
  2. amplify create api
  3. Do you want to edit the schema now? -> yes
  4. Edit file and then save it but do not close VSCode
  5. Hit Enter to continue on the CLI and observe it hang.

@kaustavghosh06 kaustavghosh06 self-assigned this Feb 20, 2019
@kaustavghosh06 kaustavghosh06 added bug Something isn't working dependency-issue Issue with another dependency used and removed investigating This issue is being investigated labels Mar 8, 2019
@jerekapyaho
Copy link

I just ran into this error on Visual Studio Code 1.32.3 running on macOS 10.14.3, with Amplify CLI 1.1.8 (npm 6.9.0, node v11.12.0). The amplify add api command terminates only after you close the Visual Studio Code window used to edit the GraphQL schema.

@github-actions
Copy link

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 *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working dependency-issue Issue with another dependency used
Projects
None yet
Development

No branches or pull requests

5 participants