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 command not working #13411

Closed
4 tasks done
elkee2003 opened this issue Nov 14, 2023 · 11 comments
Closed
4 tasks done

Amplify command not working #13411

elkee2003 opened this issue Nov 14, 2023 · 11 comments
Labels
pending-triage Issue is pending triage platform Issues tied to the general CLI platform

Comments

@elkee2003
Copy link

Before opening, please confirm:

App Id

dnxdny8iom5jq

Region

us-east-1

Environment name

VS code

Figma File Version (if applicable)

No response

Amplify CLI Version

12.4.0

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

v18.14.2

What operating system are you using?

Windows

Browser type?

Google Chrome

Describe the bug

  • No amplify command is working, even amplify version is not working. I know the version I am using because I have checked before.

  • I also have another complaint of my data being unable to sync from amplify studio to my local server. I have made this complaint previously but I have not gotten a solution yet.

Expected behavior

  • Amplify commands like amplify help, amplify version, amplify init are meant to work or show something in my terminal
  • My data is meant to sync from local server to remote server.

Reproduction steps

running any command does not work. When I type a command nothing comes up. Please check attached.
Screenshot (65)

Project Identifier

No response

Additional information

No response

@elkee2003 elkee2003 added the pending-triage Issue is pending triage label Nov 14, 2023
@ykethan
Copy link
Member

ykethan commented Nov 15, 2023

Hey @elkee2003, thank you for reaching out. Could you try running amplify -v --debug and let us know if you observe any output.
could check the logs at C:\Users\<username>\.amplify\logs, run the amplify -v --debug and open the file that contains the latest date. Could you provide us the logs from the file this would help us in diving deeper.
Additionally, could you try reinstalling Amplify CLI using npm install -g @aws-amplify/cli or curl -sL https://aws-amplify.github.io/amplify-cli/install-win -o install.cmd && install.cmd for windows.
does the native CMD terminal with administrator permission also show similar behavior.

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Nov 15, 2023
@elkee2003
Copy link
Author

elkee2003 commented Nov 15, 2023 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Nov 15, 2023
@elkee2003
Copy link
Author

elkee2003 commented Nov 15, 2023 via email

@ykethan ykethan transferred this issue from aws-amplify/amplify-studio Nov 15, 2023
@ykethan
Copy link
Member

ykethan commented Nov 15, 2023

Hey @elkee2003, interesting. i was not able to reproduce in a windows environment. what is the npm and node version currently installed?

it appears the screenshot being referred to on the previous comment may have not come in.

@ykethan ykethan added platform Issues tied to the general CLI platform pending-response Issue is pending response from the issue author labels Nov 15, 2023
@elkee2003
Copy link
Author

elkee2003 commented Nov 15, 2023 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Nov 15, 2023
@elkee2003
Copy link
Author

elkee2003 commented Nov 15, 2023 via email

@ykethan
Copy link
Member

ykethan commented Nov 15, 2023

Thank you for the information, as a quick test could you try removing the C:/user/<user-name>/.amplify folder and if present remove the C:/user/<user-name>/.amplify-pending-delete.exe file.
Then install amplify CLI using curl -sL https://aws-amplify.github.io/amplify-cli/install-win -o install.cmd && install.cmd.
Do let us know if the behavior persists.

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Nov 15, 2023
@elkee2003
Copy link
Author

elkee2003 commented Nov 15, 2023 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Nov 15, 2023
@elkee2003
Copy link
Author

elkee2003 commented Nov 15, 2023 via email

@ykethan
Copy link
Member

ykethan commented Nov 15, 2023

Glad to hear that you were able to get the commands working, I also transferred the issue aws-amplify/amplify-js#12573 to our JS repository for additional assistance.

Closing the issue.

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

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.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-triage Issue is pending triage platform Issues tied to the general CLI platform
Projects
None yet
Development

No branches or pull requests

2 participants