-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
The plugin "gatsby-source-name" created a node of a type "File" owned by "gatsby-source-filesystem" #38117
Comments
Can you please attach a minimal reproduction we can run? |
@derrickmehaffy is there a Strapi demo site the Gatsby team can use to debug this issue? |
@LekoArts you can fork https://github.com/FixMyBerlin/plan-f.info and use it with our staging content to test the integration. ~~Update: Sorry, just realized the repos are still private, will make them public today…~~~ |
Public hosted? Not that I'm aware of, easiest might be using foodadvisor? |
I built this here |
I'd like to add that this issue is affecting most gatsby-source plugins using File/localFile. It also affects gatsby-source-prismic, and gatsby-source-directus. Is this related to recent tweaks to node ownership I see mentioned in some version changelogs? |
Thanks for that context @LiamJSP - we've been busy with something else but given that this seems to be more widespread I'll escalate this |
This issue is breaking our builds as well. From what i've read, downgrading to 5.8.0 will solve the issue, but i've had no luck so far. Hopefully this can be fixed soon. |
I believe I've fixed it, can someone try this canary? I think the oversight here was thinking nodes shouldn't be touched by a plugin that doesn't own them. I'm not sure EDIT: btw for trying the canary with the mentioned repro I had to use yarn due to dep tree issues, npm wouldn't install the canary. In a released version that wont be an issue, it's just for the canary |
Thanks for the help @TylerBarnes and @pieh . Anything we can do to improve on our side? |
Our, as-in source plugins? Yeah, we saw room of improvement here:
This is what |
The fix to this issue was released in |
I can confirm gatsby-source-prismic is now working with gatsby@5.11.0! I got a working build. Thanks a bunch all! I'll CC LekoArts suggestions for source-plugin improvement into the respective Prismic thread. Thx again! |
In addition to creating |
Thanks for the fix. |
Feel free to take it down, thanks for the repro! |
Description
This is extracted from https://github.com/gatsby-uc/plugins/issues/426#issuecomment-1562455390…
… and gatsby-uc/plugins#426 (comment)
The linked issues goes into more details.
Reproduction Link
Steps to Reproduce
Expected Result
Actual Result
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: