`Cannot start nuxt: Maximum call stack size exceeded` For yarn dev command
I cloned my project from another machine that is UNIX based onto my Windows machine. After running yarn install and then yarn dev I get the error in the image.
I tried it with npm, completely crashes, tried it pnpm, gives same error.
My Node version is 18 LTS, package manager versions are the newest, though the person who wrote the project said he an used older yarn version.
There is a yarn lock file.
Windows 10 OS
Does anyone have any idea why this could be? No matter what I try, the cloned project just can't install packages or run properly. Thank you in advance!
![No description](https://cdn.answeroverflow.com/1259868852443938857/image.png)
2 Replies
Could be many things but likely a dependency issue. First try to remove node_modules and your lock file. Then run
yarn install
.after some updates to the dependencies and making node v20 comapatible with the project it's working but ts-plugin is giving many errors now, like in the tsconfig.json file:
It is a basic file and this error wasn't a problem before updating from nuxt 3.4.2 or node18
tsconfig.json: