DirectedEdges / specs-plugin

33 stars 0 forks source link

The plugin encountered an error #163

Closed bbontempo closed 4 months ago

bbontempo commented 4 months ago

Description

Displayed message: "The plugin encountered an error To report this defect to the plugin author, submit an issue with this message and – if you are willing – include a link to a view-only file with the item(s) you selected so the author can reproduce the error.

cannot read property 'value' of undefined"

Steps to reproduce

Select a component and run the plugin

Screenshot

Screenshot 2024-06-04 at 10 26 29

Additional context

{Add any other context about the problem here}

Defect log

"The plugin encountered an error To report this defect to the plugin author, submit an issue with this message and – if you are willing – include a link to a view-only file with the item(s) you selected so the author can reproduce the error.

cannot read property 'value' of undefined"

nathanacurtis commented 4 months ago

@bbontempo Thank you for reporting a defect. Unfortunately, the error message you shared is very common and can apply to many scenarios throughout the plugin. In order to properly troubleshoot this error, would it be possible for you to provide access only to the triggering frame or instance? I would then be able to run the plugin locally and evaluate the nature of the error.

Plugin subscribers often provide access to a view only file or a downloadable .fig file that contains just that object. To share this privately, you could message me directly on the plugin's Slack community as well.

bbontempo commented 4 months ago

Hi Nathan,

There we go https://www.figma.com/design/9o1gqHSCNZknBPiK259bFe/ONGOING-variables-TEST?m=dev&node-id=789-23421&t=logqVwMiGjDKSJON-1

nathanacurtis commented 4 months ago

@bbontempo Thanks for sharing. There's a defect occurring when initiating the "Two way" props feature on the Icon subcomponent. I am unable to resolve this defect today, but the plugin runs successfully if you deactivate that feature. To confirm: are you a paid subscriber and were you using "Two way"?

nathanacurtis commented 4 months ago

@bbontempo I've issued a fix that seems to work on your use case. To confirm, restart Figma, restart the plugin, and try again.

bbontempo commented 4 months ago

Thanks a lot, It's working now. I'm subscribed.