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 Configure Wizard Failed #13556

Closed
2 tasks done
tchowdhury opened this issue Jan 25, 2024 · 9 comments
Closed
2 tasks done

Amplify Configure Wizard Failed #13556

tchowdhury opened this issue Jan 25, 2024 · 9 comments
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage platform-config Issues related to configuring project settings

Comments

@tchowdhury
Copy link

How did you install the Amplify CLI?

npm

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

v20.11.0

Amplify CLI Version

12.10.1

What operating system are you using?

Windows 10 Pro

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

No

Describe the bug

I'm following the step outline in https://docs.amplify.aws/javascript/start/getting-started/installation/ to configure amplify using amplify-configure wizard. Follow the steps exactly and at the end getting an error "EPERM: operation not permitted, open 'C:\Users\TAPAJOYTI.aws\credentials'" .. attached the error screenshot
amplify_configure_error

Expected behavior

As par documentation the configuration is successful "Successfully set up the new user"

Reproduction steps

run the command amply configure number of times and it shows the same error everytime

Project Identifier

No response

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.
@tchowdhury tchowdhury added the pending-triage Issue is pending triage label Jan 25, 2024
@ykethan
Copy link
Member

ykethan commented Jan 25, 2024

Hey @tchowdhury, Thanks for reaching out. Does this error also occur if you run the terminal with Admin access?

@ykethan ykethan added pending-response Issue is pending response from the issue author platform-config Issues related to configuring project settings labels Jan 25, 2024
@tchowdhury
Copy link
Author

Yes, I've open the terminal with run as admin option, still the same issue. Is there anyway I can manually add profile in the configuration file under .aws folder? If yes , is there any sample available so hat I can set up manually or alternatively, can I use my default aws profile (which has admin rights) to continue with amplify?

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Jan 26, 2024
@ykethan
Copy link
Member

ykethan commented Jan 26, 2024

Hey @tchowdhury, could try setting the profile using AWS CLI aws configure or manually adding them. https://docs.aws.amazon.com/cli/latest/userguide/welcome-examples.html
You should be to able to use the profile with admin permissions on amplify init but to follow best practises I would suggest using a profile with scoped down permissions.

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Jan 26, 2024
@josefaidt
Copy link
Contributor

Hey @tchowdhury did @ykethan 's note help resolve your issue?

@tchowdhury
Copy link
Author

No, it doesn't. Anyhow I'm using my AWS admin profile. Quite disappointed , with the amplify documentation, steps/screenshots documented doesn't work and no alternatives have been documented either.

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Feb 2, 2024
@josefaidt
Copy link
Contributor

Hey @tchowdhury sorry to hear of the rough experience. Looking at the error again this, was node or the CLI installed with sudo/admin? If you run which amplify or npm bin -g what is the output? We've seen similar errors where the CLI is unable to write to a logfile in the $HOME directory

@josefaidt josefaidt added the pending-response Issue is pending response from the issue author label Feb 2, 2024
@ykethan
Copy link
Member

ykethan commented Feb 16, 2024

Hey @tchowdhury, are you still experience this issue?

@ykethan
Copy link
Member

ykethan commented May 3, 2024

Closing the issue due to inactivity. Do reach out to us if you require any assistance.

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2024
Copy link

github-actions bot commented May 3, 2024

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.

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-config Issues related to configuring project settings
Projects
None yet
Development

No branches or pull requests

3 participants