export 'App' (reexported as 'App') was not found in 'antd'

After I have updated my refine-antd package from
"@pankod/refine-antd": "^4.1.0",
"@pankod/refine-core": "^3.90.6",
"@pankod/refine-antd": "^4.1.0",
"@pankod/refine-core": "^3.90.6",
To this
"@pankod/refine-antd": "^4.7.0",
"@pankod/refine-core": "^3.94.2",
"@pankod/refine-antd": "^4.7.0",
"@pankod/refine-core": "^3.94.2",
I get an export error as export 'App' (reexported as 'App') was not found in 'antd' export 'QRCode' (reexported as 'QRCode') was not found in 'antd' export 'Watermark' (reexported as 'Watermark') was not found in 'antd'
2 Replies
Omer
Omer2y ago
Hey @dipbazz , Sorry for this situation. Could you check this? https://refine.dev/docs/api-reference/antd/migration-guide/v4-to-v5/#compile-errors
Migration Guide | refine
Ant Design released a new major version as a v5. This document will help you upgrade from antd 4.x version to antd 5.x version.
harsh-harlequin
harsh-harlequinOP2y ago
Thanks @Omer, It solved my issue.

Did you find this page helpful?