-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Cannot read properties of undefined (reading 'url') #2083
Comments
I've been experiencing this as well for a couple of weeks on a project, came here to see if anyone else had opened a bug. It looks like its also been raised here #2053 and the last comment there is that its being looked into and downgrading to 2.1.4 in the meantime is one workaround (in case that helps). |
Yup that's what I ended up doing although I think 2.1.7 should work as it's just before the 2.2.0 release which added this runtime error. |
Opened a fix in #2094. |
Also marking this as a duplicate of #2053. |
Released: v2.2.6 🎉This has been released in v2.2.6! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
This is still happening in |
This is still happening in 2.3.4 |
This is still happening in |
This is still happening in |
Can we reopen this issue? |
@mbwestphal, I believe the open issue #2146 is about the same problem. |
Prerequisites
Environment check
msw
versionBrowsers
Chromium (Chrome, Brave, etc.)
Reproduction repository
N/A
Reproduction steps
msw version: 2.2.1
For some reason, the
request
object here is occasionally undefined. When it is, this line throwsSeem to be introduced during 0e9d65f
I don't know if this is intentional or not, or what the fix is, just reporting this runtime error. Thanks for all you do!
Current behavior
Throws
Expected behavior
Does not throw this error
The text was updated successfully, but these errors were encountered: