N
Nuxt3mo ago
thiccBoi

`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
2 Replies
Cue
Cue3mo ago
Could be many things but likely a dependency issue. First try to remove node_modules and your lock file. Then run yarn install.
thiccBoi
thiccBoi2mo ago
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:
Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?
Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?
It is a basic file and this error wasn't a problem before updating from nuxt 3.4.2 or node18 tsconfig.json:
{
"extends": "./.nuxt/tsconfig.json",
"files": ["global.d.ts"]
}
{
"extends": "./.nuxt/tsconfig.json",
"files": ["global.d.ts"]
}
Want results from more Discord servers?
Add your server