aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.82k stars 820 forks source link

Stuck at Edit you schema at or place .graphql files in a directory #3440

Closed buixuanhai closed 4 years ago

buixuanhai commented 4 years ago

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the Amplify Console GitHub Issue Tracker

Describe the bug When run amplify push. It shows message below and hang. It didn't open schema.graphl for do anything else. It' stuck.

Edit your schema at D:\Code\myapp\amplify\backend\api\myall\schema.graphql or place .graphql files in a directory at D:\Code\myapp\amplify\backend\api\myapp\schema

Amplify CLI Version 4.13.2

To Reproduce Make some change to schema and amplify push

Expected behavior schema.graphql open to edit or allow to continue to push

Desktop (please complete the following information):

ammarkarachi commented 4 years ago

@buixuanhai Can you open your code editor from the command line?

buixuanhai commented 4 years ago

@ammarkarachi Yes, I can. I am using VSCode so I use code file_name.js to open the file.

kaustavghosh06 commented 4 years ago

@buixuanhai We don't open up the editor after push. Can you paste your entire terminal output here?

buixuanhai commented 4 years ago

image @kaustavghosh06 Here the console log

jhockett commented 4 years ago

Hi @buixuanhai, we have been unsuccessful so far trying to reproduce this issue. Have you had any luck since you last posted? Do you still encounter the issue on the newest version of the CLI?

jhockett commented 4 years ago

I'm closing this issue for now since we cannot reproduce it. Please comment below if you continue to have this issue.

github-actions[bot] commented 3 years ago

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.