aws-amplify / amplify-cli

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

Cannot prompt error on 'amplify push' #13982

Closed jasonleenaylor closed 3 weeks ago

jasonleenaylor commented 1 month ago

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

16.13

Amplify CLI Version

12.13.0

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No manual changes made

Describe the bug

running 'amplify push' returns the status after the pull and then the following error:

Cannot prompt for [Are you sure you want to continue?] in a non-interactive shell

Resolution: Please report this issue at https://github.com/aws-amplify/amplify-cli/issues and include the project identifier from: 'amplify diagnose --send-report' Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

Session Identifier: 7e63d115-c303-49cb-9a4c-267ba8dbb65c

Expected behavior

An actual prompt for continuing is displayed and I am able to push.

Reproduction steps

  1. Run amplify push in my existing project where I have made changes to add a new function.

Project Identifier

efbc991ac28092ea209ab240c0550991

Log output

No response

Additional information

No response

Before submitting, please confirm:

ykethan commented 1 month ago

Hey @jasonleenaylor, thank you for reaching out. Are you using git bash by an chance in windows? I would suggest switching to powershell or CMD to mitigate the issue.

ykethan commented 3 weeks ago

Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue

github-actions[bot] commented 3 weeks ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.