-
-
Notifications
You must be signed in to change notification settings - Fork 603
(v.0.42) Error - Invariant Violation: Failed to respond request: the "request" event has already been responded to #1271
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds:triageIssues that have not been investigated yet.Issues that have not been investigated yet.scope:nodeRelated to MSW running in NodeRelated to MSW running in Node
Description
Prerequisites
- I confirm my issue is not in the opened issues
- I confirm the Frequently Asked Questions didn't contain the answer to my issue
Environment check
- I'm using the latest
mswversion - I'm using Node.js version 14 or higher
Node.js version
v16.15.0
Reproduction repository
Reproduction steps
yarn add msw@latest
yarn dev
Current behavior
error - Invariant Violation: Failed to respond to "GET http://localhost:3000/backend-api/xxxx" request: the "request" event has already been responded to.
at setupServerListener (************/node_modules/msw/lib/node/index.js:1249:17) {
Expected behavior
All works as in v0.38.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds:triageIssues that have not been investigated yet.Issues that have not been investigated yet.scope:nodeRelated to MSW running in NodeRelated to MSW running in Node