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

bug(<gatsby-source-strapi>): <"gatsby-source-strapi" threw an error while running the sourceNodes lifecycle> #427

Closed
soichiro0210 opened this issue May 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@soichiro0210
Copy link

Describe the bug

I get the following error when building gatsby.
"""The plugin "gatsby-source-strapi" created a node of a type owned by another plugin."""

If I delete the cache and rebuild, it builds correctly, but it does not work with webhook build. Also, I have given ""x-gatsby-cache: false"" to the webhook in the header.

Error sentence

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

02:45:46 AM:
The plugin "gatsby-source-strapi" created a node of a type owned by another plugin.

02:45:46 AM:
The node type "File" is owned by "gatsby-source-filesystem".

02:45:46 AM:
If you copy and pasted code from elsewhere, you'll need to pick a new type name

02:45:46 AM:
for your new node(s).

02:45:46 AM:
The plugin creating the node:

02:45:46 AM:
{

02:45:46 AM:
"resolve": "/usr/src/app/www/node_modules/gatsby-source-strapi",

02:45:46 AM:
"id": "2a4942e6-cd91-5aa5-bdf3-1b39a2db24d6",

02:45:46 AM:
"name": "gatsby-source-strapi",

02:45:46 AM:
"version": "3.2.0",

@soichiro0210 soichiro0210 added the bug Something isn't working label May 8, 2023
@moonmeister
Copy link
Contributor

Duplicate of #426

@moonmeister moonmeister closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants