T
Twenty4mo ago
D_Gamer

Getting Error in TimingProfiler Component

No description
18 Replies
charles
charles4mo 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_Gamer4mo ago
I am also on 5.3.3
No description
D_Gamer
D_Gamer4mo ago
Also, I do get the same error by running the command
No description
D_Gamer
D_Gamer4mo ago
Getting this error as well.
No description
charles
charles4mo ago
could you do yarn? (unrelated but you can check VSCode typescript version here:)
charles
charles4mo ago
No description
D_Gamer
D_Gamer4mo 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_Gamer4mo 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
charles4mo 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_Gamer4mo ago
Can you check if @types/js-levenshtein is present in your package.json file ?
charles
charles4mo 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_Gamer4mo ago
I removed my node_modules, yarn.lock then I installed dependencies again.
No description
charles
charles4mo ago
don't remove the yarn.lock 🙂 you are on main branch, right?
D_Gamer
D_Gamer4mo ago
Yeah
charles
charles4mo ago
No description
Want results from more Discord servers?
Add your server