figma-plugin-boilerplate
figma-plugin-boilerplate copied to clipboard
Unable to load code: Error
I'm getting this error, any ideas how to solve it?
at Object.t.getLocalPluginCode (figma_app.a17c9af61a11939592442f35bc073493.min.js.br:834) at /file/wO07knr5bbR3yzgOnM5V2i/async https:/www.figma.com/figbuild-artifacts/figma_app.a17c9af61a11939592442f35bc073493.min.js.br:1384 at async Object.T [as runPlugin] (figma_app.a17c9af61a11939592442f35bc073493.min.js.br:1384)
thanks
Can you try removing the id from the manifest file, re add your plugin to Figma and out in whatever I’d it generates to see if it fixes it?
On Jun 15, 2021, at 7:16 AM, Angga Putra @.***> wrote:
I'm getting this error, any ideas how to solve it?
at Object.t.getLocalPluginCode (figma_app.a17c9af61a11939592442f35bc073493.min.js.br:834) at /file/wO07knr5bbR3yzgOnM5V2i/async https:/www.figma.com/figbuild-artifacts/figma_app.a17c9af61a11939592442f35bc073493.min.js.br:1384 at async Object.T [as runPlugin] (figma_app.a17c9af61a11939592442f35bc073493.min.js.br:1384)
thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm having the same issue, removing the id doesn't fix it :(
+1
You need to use the manifest.json from dist
instead of src
, because the relative path from code.js
does not resolve from src
, it's still code.ts
there