I have been working on a plugin and it was working perfectly fine. But now, when I try to run it the console shows this error:
InternalError: unconsistent stack size: 2 4 (pc=151)
I tried restarting thinking it might be something related to Figma’s internal behavior but didn’t help.
What might be the reason for this error?
Thanks!