Skip to main content

The plugin compiles correctly.

When I run it in Figma, I get an error in the console:


Error: Unable to load code: Error
at Object.t.getLocalPluginCode (figma_app.a55238a708ba23c4413fcc91a50cd571.min.js.br:853)
at async figma_app.a55238a708ba23c4413fcc91a50cd571.min.js.br:1685
at async Object.j [as runPlugin] (figma_app.a55238a708ba23c4413fcc91a50cd571.min.js.br:1685)

macOS Catalina 10.15.7

Try to remove the plugin from Figma, restart it, then add the plugin back again. Looks like at some point Figma lost a reference to the plugin code.


If it still gives you the error, check your manifest and make sure your code.js file is at the correct path that you specified in the manifest.json.


Reply