BuilderIO / figma-html

Builder.io for Figma: AI generation, export to code, import from web

Home Page:https://www.figma.com/community/plugin/747985167520967365

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Launched locally and it does not generate code or json

galvotas opened this issue · comments

Describe the bug
Error when trying to either generate or download code via tool. I also got error when adding plugin according to readme file.

To Reproduce
Steps to reproduce the behavior:

  1. Follow Readme file
  2. Running project with npm run dev(useDev is set to true)
  3. Opening figma app and selecting some item, set it to auto layout. Then clicking right and Plugins > Development > HTML <> FIGMA
  4. Clicking download json or generate code and always receive the same error

Expected behavior
Expected to test the tool and try downloading or generating the code.

Screenshots
Screenshot 2022-07-14 at 21 36 06

Screenshot 2022-07-14 at 21 48 15

useDev should not be set to true for outside folks. It is only set to true by internal Builder employees and will break your local env if you do so, so you'll want to keep it false