-
-
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] use refine with next and antd #6110
Comments
Hey @ccdarvin, I think turbo should ignore installed package's tsconfig file. It could be an issue with turbopack configuration. |
I think the issue is in the package @refinedev/antd", because when I comment this line |
The problem between Next.js and Ant Design has existed for a long time. Since Thank you @ccdarvin for the issue and solution. From now on, anyone with this problem can easily fix it. |
Hi I get same issue as you but after remove @refinedev/antd from transpilePackages now it work well |
Describe the bug
I try to use refine with next antd y turbobuild
Steps To Reproduce
change
package.json
"dev": "next dev --turbo",
or"dev": "cross-env NODE_OPTIONS=--max_old_space_size=4096 refine dev --turbo"
Expected behavior
I have this error:
Packages
"@ant-design/icons": "^5.0.1",
"@ant-design/nextjs-registry": "^1.0.0",
"@refinedev/antd": "^5.37.4",
"@refinedev/cli": "^2.16.21",
"@refinedev/core": "^4.47.1",
"@refinedev/devtools": "^1.1.32",
"@refinedev/kbar": "^1.3.6",
"@refinedev/nextjs-router": "^6.0.0",
"@refinedev/supabase": "^5.7.4",
"@supabase/ssr": "^0.3.0",
"antd": "^5.0.5",
"js-cookie": "^3.0.5",
"next": "^14.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Additional Context
No response
The text was updated successfully, but these errors were encountered: