-
Notifications
You must be signed in to change notification settings - Fork 316
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
interceptors.createInterceptor is not a function #91
Comments
This was referenced May 21, 2022
Any quick work-arounds for this? Trying to get the tutorial running without spending much time debugging. 😄 |
I just experienced the same here! |
Problem seems to be with |
There's been an issue with one of the MSW dependencies ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you experienced this bug with the latest version of the template?
Yes
Steps to Reproduce
npx create-remix --template remix-run/indie-stack blog-tutorial
(following this quickstart tutorial https://remix.run/docs/en/v1/tutorials/blog)npm run dev
Expected Behavior
the app should be running on http://localhost:3000/,
Actual Behavior
throw an error:
`> Executing task: npm run dev <
C:\Users\vikas\source\repos\temp\remix-experiments\indie-stack\node_modules\msw\node\lib\index.js:8143
const interceptor = interceptors.createInterceptor({
^
TypeError: interceptors.createInterceptor is not a function
at setupServer (C:\Users\vikas\source\repos\temp\remix-experiments\indie-stack\node_modules\msw\node\lib\index.js:8143:42)
at Object. (C:\Users\vikas\source\repos\temp\remix-experiments\indie-stack\mocks\index.js:3:16)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Module._preloadModules (node:internal/modules/cjs/loader:1282:12)
at loadPreloadModules (node:internal/bootstrap/pre_execution:539:5)
at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:85:3)
Rebuilding...
Done in 269ms.`
The text was updated successfully, but these errors were encountered: