#7150·ice

ice3在使用react19时项目编译报错

Author: shiwofeiwoCreated Dec 11, 2025Updated Jan 20, 2026
Labelsbug

Describe the bug

使用npm create ice ice-app命令创建的Antd Pro Scaffold 模板项目,把react和react-dom版本改成19.2.1后,使用yarn start能正常运行,但是使用yarn build就会报错, @ice/app版本为3.6.5

Image

复现链接 https://github.com/shiwofeiwo/ice3_reproduce

Image

Expected behavior

希望能够在使用react19版本时编译不报错

Actual behavior

No response

Version of ice.js

3.6.5

Content of build.json or ice.config.mts

typescript

Additional context

No response