-
Notifications
You must be signed in to change notification settings - Fork 69
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
Can't publish #213
Comments
Hi @daniel-clover, it sounds like you might have a URL for a layer which isn't a component - I'd maybe start with clicking the link and double checking the highlighted layer is a component or component set (it should show the component icon in the layers sidepanel). If this is the case you can get the correct link by right clicking the component you want to link and pressing "Copy link to selection". |
Thanks for getting back to me. |
Here are the steps I followed from the React readme https://github.com/figma/code-connect/blob/main/docs/react.md#installation
|
Please provide:
npx figma -V
if using React, orfigma -V
otherwise, to get the version of your CLI]1.2.2
Mac 14.7
Validating Code Connect files... Validation failed for Accordion (https://www.figma.com/file/kmbwdsjZdZyFFS9cgKdIaK/%5BComponent%5D-Accordion?type=design&node-id=1314-7246&mode=design&t=68ITt5K6DjcPrrZK-0): corresponding node is not a component or component set
I get the above error when I try to publish my first component. Does this mean the component in Figma isn't set up properly?
Thanks for your attention!
The text was updated successfully, but these errors were encountered: