Skip to main content
_resun
Aug 14, 2024 4:00 PM UTC
Question

InternalError: unconsistent stack size: 2 4 (pc=151) while starting plugin.

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!

This topic has been closed for replies.

1 reply

Matt20
Sep 24, 2024 8:53 PM UTC

Same!

InternalError: unconsistent stack size: 2 3 (pc=1048)

Running ‘watch’ / ‘npx webpack --mode=development --watch’ compiles fine, but attempting a production build with ‘build’ / ‘npx webpack --mode=production’ results in the plugin not launching with this error.