-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Named export 'SyncOutlined' not found. #5931
Comments
Hey @bombillazo, sorry for the issue 🙏 We had this release yesterday and it caused some errors with the type declarations in our packages. A new release is just on its way which addressess the type declaration issues. I'll ping here when the release is done and let's see if it fixes the issue you're having as well 🤔 |
Ok thanks, looking much forward to it. |
Now a patch is released for all packages. For |
on it |
Hey, I still get the error... SyntaxError: Named export 'SyncOutlined' not found. The requested module '@ant-design/icons' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@ant-design/icons';
const {value:o,configurable:!0});import et from"react";import{Form: ot}from"antd";import{useForm: rt}from"sunflower-antd";import{flattenObjectKeys: tt,propertyPathToArray: Xo}from"@refinedev/core";import{useForm: st,useWarnAboutChange: nt,pickNotDeprecated: Jo,useTranslate: at,useRefineContext: it}from"@refinedev/core"; |
@bombillazo, I've found an issue related to this in Please let us know if this resolves the issue 🙏 |
I tried it but it doesnt fix the issue, currently, I've reverted to using |
Can you also check for |
I fixed the version to |
I see "node_modules/@refinedev/antd": {
"version": "5.38.1",
"resolved": "https://registry.npmjs.org/@refinedev/antd/-/antd-5.38.1.tgz",
"integrity": "sha512-CFonTqYHV6wTEq3ofoFQ0XODW1DMcpuCP9ApPjPYQZ8ORY0pcudPf22L3RTeeyHodabdsSJ+C3bqeVLyg9+4Zw==",
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-layout": "7.17.12",
"@refinedev/ui-types": "^1.22.7",
"@tanstack/react-query": "^4.10.1",
"antd": "5.16.5",
"dayjs": "^1.10.7",
"react-markdown": "^6.0.1",
"remark-gfm": "^1.0.0",
"sunflower-antd": "1.0.0-beta.3",
"tslib": "^2.6.2"
}, |
I manually locked it to |
The current combination that works for me is this:
|
Thank you for your help investigating the issue @bombillazo. I think we might need to re-apply the version pinning here for the You may try {
"overrides": {
"@refinedev/antd": {
"@ant-design/icons": "5.0.1"
}
}
} |
I tried that but it messes up my stylings for some reason. Ill keep using |
I would love to help with the PR but I'm not sure where the change is required in the repo, Im not familiar with the refine repo. |
Check out this PR #5908, it looks like there are a lot of changes but most of them are from |
Hey @bombillazo, can you confirm that this issue is resolved with the latest releases? 🙏 |
Closing this as completed with #5934 |
Hey, seems like its not giving any more issues, confirmed it today. Thanks! |
- chore(chakra-ui): fix broken tsdoc links #6429 - feat: export useInvalidateAuthStore hook #6405 Resolves #6341 - feat(core): add `<MetaContext />` #6435 - chore(antd): update @ant-design/icons and @ant-design/pro-layout dependencies #6369 Resolves #6363, #5931 - feat(core,antd,mui,mantine,chakra-ui): add new prop to auth-page to p… #6432 Resolves #6431 - fix(core): link component overrides to instead of go #6462 Resolves #6461 - fix(react-hook-form): onChange handler autoSave check in useForm #6459 Resolves #6458 - fix(core): link component ref type is too restrictive (#6464) Resolves #6463
- chore(chakra-ui): fix broken tsdoc links #6429 - feat: export useInvalidateAuthStore hook #6405 Resolves #6341 - feat(core): add `<MetaContext />` #6435 - chore(antd): update @ant-design/icons and @ant-design/pro-layout dependencies #6369 Resolves #6363, #5931 - feat(core,antd,mui,mantine,chakra-ui): add new prop to auth-page to p… #6432 Resolves #6431 - fix(core): link component overrides to instead of go #6462 Resolves #6461 - fix(react-hook-form): onChange handler autoSave check in useForm #6459 Resolves #6458 - fix(core): link component ref type is too restrictive (#6464) Resolves #6463
Describe the bug
When building our app, we get this error:
Steps To Reproduce
Install the latest refine packages and run the app.
Expected behavior
No error is given when building
Packages
"@refinedev/antd": "5.38.1"
Additional Context
No response
The text was updated successfully, but these errors were encountered: