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

fix: #426 #431

Closed
wants to merge 1 commit into from
Closed

fix: #426 #431

wants to merge 1 commit into from

Conversation

tinque
Copy link

@tinque tinque commented May 23, 2023

Description

Fix the following error:

"gatsby-source-strapi" threw an error while running the sourceNodes lifecycle:

The plugin "gatsby-source-strapi" created a node of a type owned by another plugin.

The node type "File" is owned by "gatsby-source-filesystem

The error occurred as a result of an update in Gatsby version 5.9.0 or higher. This update implemented a mechanism to verify node ownership. However, the error occurred because the "gatsby-source-filesystem" plugin was overriding the ownership, leading to the conflict.(https://github.com/gatsbyjs/gatsby/blob/ccbbda5c6ae4cc9dfcbbf07891e9c74461c6ed55/packages/gatsby-source-filesystem/src/create-remote-file-node.js#L70).

Tested with gatsby 5.9.0 and 5.10.0

Related Issues

Fixes: #426

@changeset-bot
Copy link

changeset-bot bot commented May 23, 2023

🦋 Changeset detected

Latest commit: 1a174f8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gatsby-source-strapi Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@LekoArts
Copy link
Contributor

Please see #426 (comment)

@gatsby-uc gatsby-uc locked and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants