No matter what command I run, I keep getting the error “maximum call stack size exceeded.”

Hello, I’m encountering an issue where running commands like npx prisma generate and npx prisma migrate reset --force results in the error “maximum call stack size exceeded.” I came across guidance on X (Twitter) and decided to join Discord for further assistance. Originally, I was working on a Mac Studio, but after moving my development environment to a MacBook, this error has been consistently occurring. Docker is running properly. I initially used Node.js version 22.14, but after encountering the issue, I downgraded to 18.20 and 16.20, yet the problem persists. I also downgraded Prisma from the latest version to 4.0, but that didn’t resolve the issue either. Just in case it helps, I’m sharing my GitHub repository where the issue has been occurring, although I feel a bit embarrassed: 🔗 https://github.com/zerodice0/youtube_thumbnail_generator Any help would be greatly appreciated!
GitHub
GitHub - zerodice0/youtube_thumbnail_generator
Contribute to zerodice0/youtube_thumbnail_generator development by creating an account on GitHub.
No description
No description
No description
No description
7 Replies
Prisma AI Help
Salutations, traveler! I'm the Prisma AI Help Bot. You've reached a fork in the road: one path leads to the wisdom of the human sages (ETA: sometime today), and the other to my instantaneous insights. Which way shall we go?
Nurul
Nurul4d ago
Hey @검은곰(BlackBear) 👋 To reproduce this issue, I should follow the instructions from your GitHub repository, right? I want to reproduce this to debug it
검은곰(BlackBear)
Oh, I found it. I'm so sorry. I want to close this post. 🙂
Nurul
Nurul4d ago
Glad to hear you found the issue. What was causing it? I'll close this 👍
검은곰(BlackBear)
I think I might have set the environment variables incorrectly. Since I was getting an error in envValue, I tried printing it with console.log, and it was displayed like the one on the left.
No description
검은곰(BlackBear)
Sorry for the trouble, and thank you so much for your help. Have a great day! 🙂
Nurul
Nurul4d ago
Ah, got it! Have a great day! 🙌

Did you find this page helpful?