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

All Amplify CLI Commands Failing #13455

Closed
2 tasks done
jordanemergeio opened this issue Dec 6, 2023 · 7 comments
Closed
2 tasks done

All Amplify CLI Commands Failing #13455

jordanemergeio opened this issue Dec 6, 2023 · 7 comments
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage platform-pull Issues related to `amplify pull`

Comments

@jordanemergeio
Copy link

How did you install the Amplify CLI?

npm

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

17.9.1

Amplify CLI Version

12.5.0

What operating system are you using?

Mac

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 any amplify cli command all of a sudden produces the following error:

File at path: '/Users/jordan/repos/aws-amplify/amplify-app/amplify/#current-cloud-backend/amplify-meta.json' does not exist

Expected behavior

The cli commands should execute

Reproduction steps

Run 'amplify status' in the root directory of my Angular AWS Amplify project.

Project Identifier

65d6f99ec89e8ef23025ce5b0aeba58c

Log output

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@jordanemergeio jordanemergeio added the pending-triage Issue is pending triage label Dec 6, 2023
@NoellaMarie501
Copy link

I have a similar problem. I used both Linux/Ubuntu and Windows. after installing amplify cli with "npm install -g @aws-amplify/cli" still unable to use any amplify command

@ykethan
Copy link
Member

ykethan commented Dec 7, 2023

Hey @jordanemergeio, thank you for reaching out. The issue appears to be similar to #12766.
Could you upgrade the Amplify CLI version, then try pulling the backend using the pull command amplify pull --appId <app-id> --envName <env-name> --debug with the debug in an empty directory outside your existing application directory? Does this also throw the same error?

If the pull does throw the same error; Could you check the AWS S3 console for the deployment bucket, the name should be similar to amplify-<app-name>-<env-name>-34648-deployment.
Download and open the #current-cloud-backend.zip, verify if the amplify-meta.json does exist?

@NoellaMarie501 could you open a new GitHub issue with information on the behaviours you are experiencing.

@ykethan ykethan added pending-response Issue is pending response from the issue author platform-pull Issues related to `amplify pull` labels Dec 7, 2023
@richie1720
Copy link

I think I am having the same issue. None of the amplify commands are working (see issue here)

@thecloudslayer
Copy link

I was having the same issue. If I run sudo in front, it works. sudo amplify status @jordanemergeio

@josefaidt
Copy link
Contributor

Hey @richie1720 , @thecloudslayer 👋 was the CLI installed with sudo? or does the npm package live outside your HOME directory (i.e. is the absolute path of which amplify outside of your user's HOME directory)?

@josefaidt
Copy link
Contributor

Closing due to inactivity

@josefaidt josefaidt closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

⚠️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-response Issue is pending response from the issue author pending-triage Issue is pending triage platform-pull Issues related to `amplify pull`
Projects
None yet
Development

No branches or pull requests

6 participants