youyo / awslogin

Login to the AWS management console.
MIT License
18 stars 1 forks source link

Invalid character error #33

Open sshi100 opened 4 years ago

sshi100 commented 4 years ago

I hit an error when run after brew install:

Error: invalid character '<' looking for beginning of value
invalid character '<' looking for beginning of value
youyo commented 4 years ago

@sshi100 awslogin is required opstion --select-profile (-S) or $AWS_PROFILE environment value. Please use these.

sshi100 commented 4 years ago

$ awslogin -S Search: █ Profiles

default piggycloud-me-devops1 eks-ro-user piggycloud-me-dev1

Error: invalid character '<' looking for beginning of value invalid character '<' looking for beginning of value

No matter which to select, I got the same error.

youyo commented 4 years ago

I have not been able to reproduce this error in my environment. Let me ask you a few questions.

Is it possible to run the aws command?

$ aws --profile piggycloud-me-devops1 s3 ls
sshi100 commented 4 years ago

Let's see 'default' first, yes, it works

$ aws --profile default s3 ls 2020-09-25 10:50:01 app.piggycloud2-staging.me ... and more ...

youyo commented 4 years ago

Thanks!

Hmmm, I'll give it some thought.