Compile Error After Update Refine and Antd
I just update refine and other things but i got error. Could you help me please?
15 Replies
xenial-black•3y ago
https://discord.com/channels/837692625737613362/1056236230641209396/1056236230641209396 can you follow this post please ? it's seems similar error
can you try npm install after removing node_modules
adverse-sapphireOP•3y ago
I already try that but nothing changed. I delete node_modules, then run npm clear cache --force, then npm verify cache and then npm install but still got error
flat-fuchsia•3y ago
Can you try with removing the lock file?
adverse-sapphireOP•3y ago
I also get this error too
adverse-sapphireOP•3y ago
I will try it.
flat-fuchsia•3y ago
Thank you, we’re investigating the issue
xenial-black•3y ago
maybe craco can cause problems.
can you uninstall craco and try again ?
antd removed less support. probably you dont need craco anymore.
if it works we will look into the craco fix with core team tomorrow.
but probably you don't need craco anymore because antd dropped less support
adverse-sapphireOP•3y ago
Hi, i just delete lock file and node modules then insall and now it's ok. But about this error, i don't what it cause but it seems nothing for me for now. Thank you for your support guys.
about craco, can i still write css with less? Does it need any configuration?
xenial-black•3y ago
according to antd, u can with this : https://ant.design/docs/react/migration-v5#less-migration
adverse-sapphireOP•3y ago
thank you for your all support, I'll look into it
adverse-sapphireOP•3y ago
I want to ask one more question, when i stop app with ctrl+c combination, i think it still running on backgroud. I keep getting this error.
flat-fuchsia•3y ago
Can you share your response of
npm run refine — whoami
adverse-sapphireOP•3y ago
Yes, there it is
flat-fuchsia•3y ago
Thank you for sharing that. I guess there’s an issue with our runner or in any helper or the commands we ran that they dont handle their child processes properly for SIGINT signal to kill the app or a problem with our helpers that does not propagate that signal well. I will investigate this issue and resolve it as soon as possible 🙏 Sorry for the trouble.
Btw, does this happen all the time or just happens randomly, and also does it happen after you kill the app and wait for couple seconds and restart? 🧐
adverse-sapphireOP•3y ago
I feel like it happens randomly, because now i will change port until 3003, after that i try again port 3000, it's work. It seems it can't kill directly, developer must wait couple seconds, i'm not sure exactly how much.