Skip to content

Issue with avo login - Cannot destructure property 'body' of 'response' as it is undefined #408

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

Open
un1ck-andy opened this issue Jan 12, 2024 · 3 comments

Comments

@un1ck-andy
Copy link

I ran into an issue with login through CLI (avo login), I get this error:
error Cannot destructure property 'body' of 'response' as it is undefined.
It looks like you have already smth similar on your radar (#380) for the case when we run avo installation. The error is the same, so I believe the problem is too, but I didn't see any mention of this particular case.

Also I should mention that when I run that command meanwhile it shows a webpage that proposes to login with my email, but when I click the button it redirects to localhost:9005 where is nothing (I guess if the script didn't exit with error it should create smth on port 9005)

Thanks!

@bragur
Copy link
Contributor

bragur commented Jan 22, 2024

Hey @un1ck-andy, sorry for the late reply and thanks for reporting! Before we dig in, could you maybe share with us a bit of details around versions and OS?

@un1ck-andy
Copy link
Author

Hey @bragur, thanks for your response!
node v.18.19.0, npm v.10.2.3, macOS 14.2.1
avo versions from 3.2.6 to 3.2.9-beta.1

@aleks-tpom6oh
Copy link
Contributor

Hey @un1ck-andy, we have just release 3.2.9 with improved error messaging, could you try again and see if you get a more meaningful error message?

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

3 participants