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
optimistic-gold•2y 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
absent-sapphire•2y 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
foreign-sapphire•2y ago
Can you try with removing the lock file?
absent-sapphire•2y ago
I also get this error too
![No description](https://cdn.answeroverflow.com/1056596044932190218/image.png)
absent-sapphire•2y ago
I will try it.
foreign-sapphire•2y ago
Thank you, we’re investigating the issue
optimistic-gold•2y 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
absent-sapphire•2y 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?
optimistic-gold•2y ago
according to antd, u can with this : https://ant.design/docs/react/migration-v5#less-migration
absent-sapphire•2y ago
thank you for your all support, I'll look into it
absent-sapphire•2y 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.
![No description](https://cdn.answeroverflow.com/1056653128004534282/image.png)
foreign-sapphire•2y ago
Can you share your response of
npm run refine — whoami
absent-sapphire•2y ago
Yes, there it is
![No description](https://cdn.answeroverflow.com/1056653763307389059/image.png)
foreign-sapphire•2y 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? 🧐
absent-sapphire•2y 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.