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

axios V0.28.0 Uncaught ReferenceError: req is not defined at AbortSignal.onCanceled #6301

Open
Sarmay opened this issue Mar 15, 2024 · 8 comments

Comments

@Sarmay
Copy link

Sarmay commented Mar 15, 2024

Describe the bug

image image

To Reproduce

No response

Code snippet

No response

Expected behavior

No response

Axios Version

0.28.0

Adapter Version

No response

Browser

chrome

Browser Version

No response

Node.js Version

122.0.6261.129

OS

M1-MAC 14.2.1

Additional Library Versions

No response

Additional context/Screenshots

No response

@Sarmay
Copy link
Author

Sarmay commented Mar 15, 2024

image

@RInkal25
Copy link

The code has an error where it refers to a variable called req, but it should actually be referring to a variable called request. This mistake could cause issues when dealing with cancellations.

@justindhillon
Copy link

justindhillon commented Mar 19, 2024

This is a problem on V0.x , but is already fixed on V1.x . I made PR #6307 to fix this.

@justindhillon
Copy link

This issue has been fixed and merged in #6307, this issue should be closed. I am willing to take on a maintainer role to close issues like this.

@esezerguven
Copy link

@justindhillon will it be a released version? how can implement the solution to project

@justindhillon
Copy link

@justindhillon will it be a released version? how can implement the solution to project

It will be in the next release. You just have to wait until then. If this is mission critical then you can git clone the v0.x branch and run that. But this is not recommended.

@Xusifob
Copy link

Xusifob commented Mar 27, 2024

Do you have an idea of the timeline for the next release (days / weeks / month ) Thanks !

@AsToNlele
Copy link

Thanks for the fix, this can be closed

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

6 participants