Skip to content

Error when running msw in github-pages #1222

Answered by gaisdav
gaisdav asked this question in Q&A
Discussion options

You must be logged in to vote

I found what was the problem.
It was necessary to write the correct path to the mockServiceWorker.js file.
I have attached a link to the documentation below.

https://mswjs.io/docs/getting-started/integrate/browser#using-homepage-property-in-packagejson

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@gaisdav
Comment options

Comment options

You must be logged in to vote
1 reply
@kettanaito
Comment options

Answer selected by gaisdav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants