ant-design / ant-design-pro

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

🐛 [BUG]macos下,创建项目后报错,TypeError: Cannot read properties of undefned (reading ' context') #11194

Closed dinghongfei closed 5 months ago

dinghongfei commented 5 months ago

🐛 bug 描述

使用pro创建项目后,项目启动正常,浏览器访问后,报报错

📷 复现步骤 | Recurrence steps

  1. pro create my-app
  2. cd my-app
  3. cnpm install
  4. npm run start
  5. 浏览器访问,服务报错 eea383f5c467b3c924a328d897050ec image

根据报错信息是因为使用 antd-style时报错,但此错误只在macos电脑中出现,在win同样版本的node环境下构建项目,项目是正常的

🏞 期望结果 | Expected results

服务访问正常

💻 复现代码 | Recurrence code

© 版本信息

🚑 其他信息

eea383f5c467b3c924a328d897050ec image

github-actions[bot] commented 5 months ago

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

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