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.




7 Replies
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?
Hey @검은곰(BlackBear) 👋
To reproduce this issue, I should follow the instructions from your GitHub repository, right?
I want to reproduce this to debug it
Oh, I found it. I'm so sorry.
I want to close this post. 🙂
Glad to hear you found the issue. What was causing it?
I'll close this 👍
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.

Sorry for the trouble, and thank you so much for your help. Have a great day! 🙂
Ah, got it!
Have a great day! 🙌