plugin-samples icon indicating copy to clipboard operation
plugin-samples copied to clipboard

Unable to run plugin code by process

Open ZetaoXiao opened this issue 2 years ago • 1 comments

After downloading according to the process and running tsc, the error reported in figma is: Invalid manifest field 'networkAccess', and the URLs in the configuration items are all 404. what should i do next?

ZetaoXiao avatar May 16 '23 03:05 ZetaoXiao

Hey there,

  • Check your plugin manifest, Open your manifest.json file and verify the networkAccess field. It should be set to one of the valid values: "NONE", "LOAD_PLUGIN", or "ANY_ORIGIN". Make sure it is correctly formatted and spelled.

  • To ensure that your manifest.json file is properly formatted and valid, you can use the Figma Plugin Manifest Validator (https://www.figma.com/plugin-docs/manifest/) or other JSON validation tools. This can help identify any syntax errors or inconsistencies in your manifest file.

sharan3102 avatar Jun 13 '23 08:06 sharan3102

The code samples should be updated now and be able to be compiled.

akbarbmirza avatar Apr 03 '24 17:04 akbarbmirza