Skip to content

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

@shiwofeiwo

Description

@shiwofeiwo

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

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions