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

aws-azure-login -m gui crashes with error in Apple Macbook M3 Pro #325

Open
nagarjunr opened this issue Apr 26, 2024 · 0 comments
Open

aws-azure-login -m gui crashes with error in Apple Macbook M3 Pro #325

nagarjunr opened this issue Apr 26, 2024 · 0 comments

Comments

@nagarjunr
Copy link

nagarjunr commented Apr 26, 2024

I encountered the following error after I entered my sso credentials in the chromium window.

Error:
~ % aws-azure-login -m gui
Logging in with profile 'default'...
Using AWS SAML endpoint https://signin.aws.amazon.com/saml
Please complete the login in the opened window
Assuming role arn:aws:iam::MY-AWS-ACCOUNT-NUMBER:role/RB-IDP-Federated-Administrator in region ap-south-1...
TypeError: (0 , proxy_agent_1.default) is not a function
at Object._assumeRoleAsync (/opt/homebrew/lib/node_modules/aws-azure-login/lib/login.js:773:59)
at Object.loginAsync (/opt/homebrew/lib/node_modules/aws-azure-login/lib/login.js:381:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Installation:
brew install node
brew install chromium --no-quarantine
npm install -g aws-azure-login

Environment Variables:
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
export PUPPETEER_EXECUTABLE_PATH=which chromium

Versions:
node : v22.0.0
Chromium : Version 126.0.6443.0 (Developer Build) (arm64)

Platform:
MacBook Pro 14-inch, Nov 2023
Chipset: Apple M3 Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant