18 Replies
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
I am also on 5.3.3
![No description](https://cdn.answeroverflow.com/1243104792255922176/image.png)
Also, I do get the same error by running the command
![No description](https://cdn.answeroverflow.com/1243105051359182909/image.png)
Getting this error as well.
![No description](https://cdn.answeroverflow.com/1243105342083301507/image.png)
could you do
yarn
?
(unrelated but you can check VSCode typescript version here:)![No description](https://cdn.answeroverflow.com/1243106500537225308/image.png)
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](https://cdn.answeroverflow.com/1243113123460681748/image.png)
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)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
Can you check if
@types/js-levenshtein
is present in your package.json file ?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
I removed my
node_modules
, yarn.lock
then I installed dependencies again.![No description](https://cdn.answeroverflow.com/1243129339407765504/image.png)
don't remove the yarn.lock 🙂
you are on main branch, right?
Yeah
![No description](https://cdn.answeroverflow.com/1243130308702896164/image.png)