Skip to content

rest package now found in msw when building with NextJS 14 #1021

Closed Answered by Will-Mann-16
devraj asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah this is because you're on MSW 2.0 where they removed the rest operator in favour of http. I've upgraded main to reflect this, just waiting on a release. In the meantime if you downgrade msw to v1 it'll work just fine.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Will-Mann-16
Comment options

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