ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.34k stars 8.14k forks source link

🐛 [BUG] 热更新会报错 Uncaught ReferenceError: process is not defined,且页面卡住 #10506

Closed Faithree closed 1 year ago

Faithree commented 1 year ago

🐛 bug 描述

新建的项目,修改文件热更新,页面卡住,且报错 Uncaught ReferenceError: process is not defined

📷 复现步骤 | Recurrence steps

  1. 新建一个项目 pro create bug-demo
  2. pnpm install
  3. npm run start
  4. 修改文件热更新,页面卡住,且报错 Uncaught ReferenceError: process is not defined

🏞 期望结果 | Expected results

正常热更新

💻 复现代码 | Recurrence code

© 版本信息

🚑 其他信息

image

github-actions[bot] commented 1 year ago

当前 Issue 未检测到标题,请规范填写,谢谢!

The title of the current issue is not detected, please fill in according to the specifications, thank you!

StevenX911 commented 1 year ago

这个我也遇到了,可以看下本地是不是存在多个chrome版本,更新并重启chrome可以解决