Skip to content
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

mock插件与 vite-plugin-pwa插件同时使用时,mock插件会报错失效 #163

Open
yang1206 opened this issue Mar 28, 2024 · 2 comments

Comments

@yang1206
Copy link

Bug report(问题描述)

同时使用 msw mock 与vite-plugin-pwa插件 时,浏览器刷新页面可能会遇到报错,报错信息如下图

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

image

Link to minimal reproduction(最小可在线还原 demo)

Other relevant information(格外信息)

  • Your OS:
  • Node.js version:
  • packageManager:
@buqiyuan
Copy link
Owner

🤔项目一拉下来启动就是这样吗?还是有做过什么改动? 如何复现?

@yang1206
Copy link
Author

yang1206 commented Apr 7, 2024

不好意思,最近太忙了,这是复现,启动项目后浏览器刷新页面偶尔就会遇到这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants