-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
React Native "Unable to resolve module http" (Advise needed) #362
Comments
Hey, @RNEvok. Thanks for raising this. I believe that React Native doesn't have the standard MSW ships with only Please let me know if that helps. |
Sorry, I don't have enough insight into React Native to advise here. Perhaps take a look at the RN usage example one of our contributors prepared mswjs/examples#60 maybe you will find a missing piece there. |
Thank you for answers. There is some notes that might be helpful for future readers: |
Hello guys. Thank you for awesome lib! It works fine in my Node.js project. But I wonder, is there any instruction how to use it with RN? Currently, I am getting error: "Unable to resolve module http" when trying to use ClientRequestInterceptor.
Reading other issues, I understood that RN support is offered. Maybe there is special branch for RN or something?
p.s. Only FetchInterceptor works fine but I need Interceptor that sees http.request(s)
RN version: 0.66.4
The text was updated successfully, but these errors were encountered: