Prerequisites
Environment check
Node.js version
v20.10.0
Reproduction repository
https://github.com/amanape/remix-msw-client
Reproduction steps
- Create Remix app via
bunx create-remix@latest.
- Follow MSW documentation for browser and node integration.
- Run
bun dev
Note: Setting up only the browser mock allows the app to work fine, although does not actually intercept the requests. Implementing node mock causes the errors.
Current behavior
Error when starting the app.
Expected behavior
No error when starting the app.
Prerequisites
Environment check
mswversionNode.js version
v20.10.0
Reproduction repository
https://github.com/amanape/remix-msw-client
Reproduction steps
bunx create-remix@latest.bun devNote: Setting up only the browser mock allows the app to work fine, although does not actually intercept the requests. Implementing node mock causes the errors.
Current behavior
Error when starting the app.
Expected behavior
No error when starting the app.