umi icon indicating copy to clipboard operation
umi copied to clipboard

[Bug] 引入daypilot-pro-react组件build以后页面无法访问,本地start:dev可以访问

Open sunWhereCode opened this issue 7 months ago • 2 comments

What happens?

引入daypilot-pro-react组件build以后页面无法访问,本地start:dev可以访问

Image

本地 npm run start:dev 可以的,但是npm run build 以后丢到服务器上就不行了。

Image

报代码错误。

请问各位大佬有办法解决吗

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

仓库 https://github.com/Pentium286/aaa

How To Reproduce

Steps to reproduce the behavior: 1. 2.

1、npm run start:dev 可以看到页面

2、npm run build 放到服务器上页面报错

Expected behavior 1. 2.

Context

  • Umi Version: 3.5.0
  • Node Version:v16.20.2
  • Platform: mac

sunWhereCode avatar Apr 15 '25 15:04 sunWhereCode

各位大佬求救🆘

sunWhereCode avatar Apr 15 '25 15:04 sunWhereCode

有大佬吗

sunWhereCode avatar Apr 16 '25 12:04 sunWhereCode