T
Twenty6mo ago
Prastoin

you're facing several `TypeScript`

you're facing several TypeScript errors, please run npx nx typecheck twenty-server to see them in more human readable way
17 Replies
Mohit Agrawal
Mohit Agrawal6mo ago
@prastoin on npx typecheck, this shows up. I am not able to understand that I did not made any changes related to 'ai' or other things, then why this error ?
No description
Prastoin
PrastoinOP6mo ago
Looks like you need to install dependencies
Mohit Agrawal
Mohit Agrawal6mo ago
I think due to this https://github.com/twentyhq/twenty/commit/322c8a18523a717561bfba1d6f69d380a026769e , some node version problem is there as i pull some changes
GitHub
Upgrade to Node22 (#12488) · twentyhq/twenty@322c8a1
BlocknoteJS requires an ESM module where our server is CJS, this forced us to pin the server-util version, which led us to force the resolution of several packages, leading to bugs downstream. Fro...
Mohit Agrawal
Mohit Agrawal6mo ago
@prastoin After adjusting to this node version, the server is running correctly. Also, for this PR: https://github.com/twentyhq/twenty/pull/12542 I will solve the mentioned issues by tomorrow. I hope that's okay with you.
GitHub
Ability to switch Currency Format by MohitAgrawal16 · Pull Request...
Fixes #11927 I have added 'format' in the zod schema of currency, and for using it, I am separately passing 'format' to 'currencyDisplay.' The feature is working correctly.
Prastoin
PrastoinOP6mo ago
Hey happy to hear you've found out how to resolve your local issue ! Yes of course no hurry take your time
Mohit Agrawal
Mohit Agrawal6mo ago
Hello @Prastoin, in 'useCurrencyFieldDisplay.ts' the value of format is changing in fieldDefinition but not in fieldValue which is coming from 'useRecordFieldValue', when changing format only. what could be the reason ? I think in 'recordStoreFamilySelector' the prev state is not changing when only format is changed. can you please help me with this ? @Prastoin whenever you get time, please look into this.
Prastoin
PrastoinOP6mo ago
Hello yes sorry coming back to you when I have some free time to re-review your PR
Mohit Agrawal
Mohit Agrawal6mo ago
Actually I have not made any changes after your updates, I have some doubts regarding the format field.
Prastoin
PrastoinOP6mo ago
Ah please push your latest local changes in a dedicated commit in order for me to have a better understanding of what's blocking you
Mohit Agrawal
Mohit Agrawal6mo ago
Oh.... so I will write some console.log statements and comments in the code for you to review. Would that be good? @Prastoin I have pushed my doubts in the commit; please check whenever you have time. Hey @prastoin , I have pushed the commit of what's blocking me. Please check.
Prastoin
PrastoinOP6mo ago
I'm sorry I had no time today to look for your issue
Mohit Agrawal
Mohit Agrawal6mo ago
Oh it's fine, whenever you get time please check, the issue is not big, I think by the end of this week we can resolve it.
Prastoin
PrastoinOP6mo ago
Hello checking today !
Mohit Agrawal
Mohit Agrawal6mo ago
Hey @prastoin, I notice some activity in PR. Did you get my doubt ?
Prastoin
PrastoinOP6mo ago
Please wait for my feedback
Mohit Agrawal
Mohit Agrawal6mo ago
Hey @Prastoin, I saw your commits; sorry for not contributing as much.
Prastoin
PrastoinOP6mo ago
Hello Mohit ! you were on the good path React hook form is sometimes quite tricky to work with Feel free to review the PR if you have any feedbacks

Did you find this page helpful?