Ant-design-pro: 🐛[BUG][v5] Cannot find module 'node-libs-browser/mock/empty'

Created on 3 Jul 2020  ·  1Comment  ·  Source: ant-design/ant-design-pro

🐛 bug 描述

执行 yarn start

出现 Cannot find module 'node-libs-browser/mock/empty'

📷 复现步骤

  1. yarn create umi
  2. 选择v5版本
  3. yarn
  4. yarn start

Cannot find module 'node-libs-browser/mock/empty'

🏞 期望结果

正常启动

💻 复现代码

© 版本信息

  • Ant Design Pro 版本: [v5]
  • umi 版本
  • 浏览器环境
  • 开发环境 [ mac OS]

🚑 其他信息

🛑 bug

Most helpful comment

I have this same poblem. yarn cache is missing this file when this happens. removing cache fixes this for a while. no idea why this file is removed from cache and when

>All comments

I have this same poblem. yarn cache is missing this file when this happens. removing cache fixes this for a while. no idea why this file is removed from cache and when

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cheung1111 picture cheung1111  ·  3Comments

ghost picture ghost  ·  3Comments

skyFi picture skyFi  ·  3Comments

yjz1004 picture yjz1004  ·  3Comments

lvzheng0404 picture lvzheng0404  ·  3Comments