-
Notifications
You must be signed in to change notification settings - Fork 8
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 get it running #7
Comments
Hey @leshokunin! I just answered another question similar to this one about one of my Gatsby starters. I'm pretty sure it's related to I just set up clean install via |
What do you mean by clean install here?
Erase gatsby completely, erase npm, something else?
Thanks!
…On Sun, Apr 21, 2019 at 08:12 Fabian Schultz ***@***.***> wrote:
Hey @leshokunin <https://github.com/leshokunin>! I just answered another
question similar to this one about one of my Gatsby starters. I'm pretty
sure it's related to npm not linking the dependencies correctly. Could
you try to re-install all dependencies via yarn and see if that helps?
I just set up clean install via yarn and everything worked as expected.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHMD5CHW43QY4PUQGXQ4OCTPRR755ANCNFSM4HHLBPUA>
.
|
Just the dependencies ( # Delete node_modules
rm -rf node_modules/
# Delete Gatsby cache
rm -rf .cache/
# Install dependencies
yarn install |
I have similar issue. Really like to try this and see how it works. I tried your solutions to clean node modules and re install them through yarn, but didn't help. Here is what I get: error Plugin gatsby-source-figma returned an error TypeError: Cannot destructure property
⠄ source and transform nodes It just stays there and nothing happens. Any idea how to fix this? Cheers, |
@imehr Which version of Gatsby are you using? Sounds like a version mismatch, this plugin only works with |
It is the latest version of gatsby (2.5.9). I did another setup today with default gatsby blog . The blog works properly, as soon I I install Figma plugin I get this new error: ----:my-blog-starter ----$ gatsby develop Error: Schema must contain uniquely named types but contains multiple types named "FigmaDOCUMENTPagesChildrenChildrenChildrenChildrenChildrenChildrenChildrenChildrenChildrenChildrenC hildrenChildrenBackgroundColor". ----:my-blog-starter ----$ |
I'm getting the same error that @imehr has. Seems if I include multiple plugins like @leshokunin did in his example the error goes away:
But then the plugin is not used and when I do:
I get the error:
|
Hello,
This looks super helpful. I'm trying to get it going.
I created something from scratch using: gatsby new reactTest
Then I edited the config.js and added:
When I run the example from the documentation:
I get this error:
Any idea how to fix that?
Could it be due to the fact that I installed gatsby-source-figma via yarn, but my gatsby prefers npm as package manager?
The text was updated successfully, but these errors were encountered: