Closed manuschillerdev closed 3 years ago
I got it. You need to pass in the ID of your File into the variable FIGMA_URL. It is described in the readme, but the name confused me. Maybe FIGMA_URL would better be called FIGMA_FILE_ID or something similar?
so in my case it was
- FIGMA_URL=https://www.figma.com/file/bpckD3geTYg6cJGBBtt36L/Figmagic-%E2%80%94-Design-System-template-4.0-Community
+ FIGMA_URL=bpckD3geTYg6cJGBBtt36L
leaving this open for feedback on the wording - but my actual problem is solved :)
Hey! Good you made it 👍
Agree on the wording, it has been something I have thought about more than once.
Will give it a poke and see if this is easily handled, in which case I will fix this in the next few days.
This issue is now fixed in 4.0.2
.
Instead of renaming the variable and breaking a lot of users' setups, the URL is funneled through a function that checks whether the string looks like a full URL (beginning with https://www.figma.com/file/
) or else just uses whatever comes in.
Thanks for raising. Happy to have improved this!
Describe the bug I get an errormessage indicating that my token and figa url are not processes correctly
To Reproduce
.env
file:figmagic
in this folderresult
Expected behavior figmagic can connect to my design and extract the tokens
Desktop (please complete the following information):
I double checked the Token and the URL 👍