T
Twenty8mo ago
D_Gamer

Getting Error in TimingProfiler Component

No description
18 Replies
charles
charles8mo ago
I can't reproduce, what is npx nx run twenty-front:typecheck output? Your IDE might be using the wrong typescript version We are currenty using 5.3.3 btw, I think we should upgrade to 5.4.5, both should work
D_Gamer
D_GamerOP8mo ago
I am also on 5.3.3
No description
D_Gamer
D_GamerOP8mo ago
Also, I do get the same error by running the command
No description
D_Gamer
D_GamerOP8mo ago
Getting this error as well.
No description
charles
charles8mo ago
could you do yarn? (unrelated but you can check VSCode typescript version here:)
charles
charles8mo ago
No description
D_Gamer
D_GamerOP8mo ago
I changed typescript version for my Code Editor to 5.3.3 and did yarn as well. These are the issued I am getting when I run yarn nx start twenty-front
No description
D_Gamer
D_GamerOP8mo ago
for the js-levenshtein package, Types haven't been mentioned in Package.json file. (main branch) If it is working for you then your package.json might already have it. installing @types/js-levenshtein worked for me. (For that particular error)
charles
charles8mo ago
ok, I'm deleting all my node_modules an re-installing to see if I can reproduce I don't face the issue I can find @types/js-levenshtein in yarn.lock so they should be installed while running yarn
D_Gamer
D_GamerOP8mo ago
Can you check if @types/js-levenshtein is present in your package.json file ?
charles
charles8mo ago
it is not but it does not matter as the yarn.lock is the source of truth while running yarn yarn why @types/js-levenshtein it's actually a dependency of msw
D_Gamer
D_GamerOP8mo ago
I removed my node_modules, yarn.lock then I installed dependencies again.
No description
charles
charles8mo ago
don't remove the yarn.lock 🙂 you are on main branch, right?
D_Gamer
D_GamerOP8mo ago
Yeah
charles
charles8mo ago
No description
charles
charles8mo ago
it's there so, you should have it if you do 'yarn' you should never delete the yarn.lock file
D_Gamer
D_GamerOP8mo ago
Got it. My bad. Thanks for the help
charles
charles8mo ago
no worries!
Want results from more Discord servers?
Add your server