Replies: 1 comment
|
Hi, @Mikex95. Sorry, I have no idea what's going wrong here. Let's start by updating any related dependencies, like |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am facing an issue with the MSW handler in my Storybook setup. The GET requests for the story SocialBar.stories.tsx are being blocked, and I am receiving the error message "Failed to fetch dynamically imported module." I have attached a screenshot showing the blocked request, it is really flaky, that means, sometimes the component will render properly. All other stories are working fine!
preview.tsx:
Expected Behavior:
The SocialBar story should render without any issues, and the GET requests should not be blocked.
Actual Behavior:
The GET request for SocialBar.stories.tsx is sometimes blocked, as shown in the attached screenshot.
Additional Information:
The error occurs when using the MSW handler with Storybook.
The status of the blocked request is (blocked:other).
The request initiator is mockServiceWorker.js:19.
Questions:
Is there a configuration step I am missing to properly integrate MSW with Storybook?
How can I debug or trace why the GET request is being blocked?
Are there any known issues or workarounds for this problem?
Thank you for your assistance!
Screenshots of the issue:
All reactions