Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No components were created #3

Open
Boeny opened this issue Dec 10, 2019 · 3 comments
Open

No components were created #3

Boeny opened this issue Dec 10, 2019 · 3 comments

Comments

@Boeny
Copy link

Boeny commented Dec 10, 2019

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
Copy link
Author

Boeny commented Dec 10, 2019

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

@abhishekdana1999
Copy link

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

@PawanKolhe
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants