figma2react icon indicating copy to clipboard operation
figma2react copied to clipboard

No components were created

Open Boeny opened this issue 5 years ago • 3 comments

Steps to reproduce

  1. install CRA by npx create-react-app test-figma2react
  2. install npm i -g figma2react globally and configurate .figma2react configuration file for figma connection
  3. create rectangle named test at figma
  4. run figma2react generate

What needs to be done: Component named test should be created at the src/components folder

What actually happened Empty src/components folder was created


  1. run figma2react watch
  2. change the color of the rectangle

What needs to be done: Component named test should be created at the src/components folder

What actually happened figma2react wrote the text "project changed, making modifications!", but there are still no components at the src/components folder

Boeny avatar Dec 10 '19 09:12 Boeny

Error at generateComponents (row 102 in figma2react.js) when fetch images {"params":["file_key"],"query":["ids"]} are required

Boeny avatar Dec 10 '19 10:12 Boeny

Same Error Component is not generated using figma2react it is making an empty components folder in src.

abhishekdana1999 avatar Feb 18 '20 13:02 abhishekdana1999

Error at generateComponents (row 102 in figma2react.js) when fetch images {"params":["file_key"],"query":["ids"]} are required

You probably need to convert the icon to a component in Figma for it to work Screenshot 2022-01-07 at 2 13 46 PM

PawanKolhe avatar Jan 07 '22 08:01 PawanKolhe