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

TypeError: Cannot read properties of undefined (reading 'endsWith') #6200

Closed
developer-choi opened this issue Jan 25, 2024 · 7 comments · Fixed by #6203
Closed

TypeError: Cannot read properties of undefined (reading 'endsWith') #6200

developer-choi opened this issue Jan 25, 2024 · 7 comments · Fixed by #6203

Comments

@developer-choi
Copy link

developer-choi commented Jan 25, 2024

Describe the bug

https://github.com/developer-choi/axios-error-report

TypeError is occurred (in 1.6.6 version)

image image

To Reproduce

https://github.com/developer-choi/axios-error-report

Code snippet

No response

Expected behavior

No response

Axios Version

1.6.6

Adapter Version

No response

Browser

CHROME

Browser Version

120.0.6099.225

Node.js Version

20.11.0

OS

Window 11

@zhijianDET
Copy link

having the same issue here , rollback to 1.6.5 seems fine though

@ildella
Copy link

ildella commented Jan 25, 2024

Happens on Linux as well, Ubuntu 23.10

@Usman024
Copy link

How can i do this? any example please

@kah3vich
Copy link

having the same issue here , rollback to 1.6.5 seems fine though

I had a version - "axios": "^1.6.5", I fixed it by removing the "^" and selected only this version - 1.6.5

@ddcrobert
Copy link

How can i do this? any example please

Try a request without an internet connection, it will create a Network Error without response / stack.

@vtrphan
Copy link

vtrphan commented Jan 29, 2024

i got this bug too on 1.6.6

@luoliwoshang
Copy link

1.6.5

Tks,Its fix my error

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

Successfully merging a pull request may close this issue.

8 participants