Weird Random bug preventing yarn develop

root@cms:~/cms# yarn develop
yarn run v1.22.22
$ strapi develop
[2024-08-28T13:17:52.841Z] debug :no_entry: Server wasn’t able to start properly.
[2024-08-28T13:17:52.842Z] error Error: There can be only one type named “ComponentButtonsButtonInput”.

There can be only one type named “editComponentButtonsButtonInput”.

Field “editComponentButtonsButtonInput.id” can only be defined once.
at assertValidSDL (/root/cms/node_modules/graphql/validation/validate.js:107:11)
at Object.buildASTSchema (/root/cms/node_modules/graphql/utilities/buildASTSchema.js:45:34)
at Object.buildSchemaFromTypeDefinitions (/root/cms/node_modules/graphql-tools/dist/generate/buildSchemaFromTypeDefinitions.js:25:28)
at makeExecutableSchema (/root/cms/node_modules/graphql-tools/dist/makeExecutableSchema.js:26:29)
at Object.generateSchema (/root/cms/node_modules/strapi-plugin-graphql/services/schema-generator.js:101:18)
at Object.initialize (/root/cms/node_modules/strapi-plugin-graphql/hooks/graphql/index.js:76:74)
at /root/cms/node_modules/strapi/lib/hooks/index.js:37:28
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.

This topic has been created from a Discord post (1278343811952672808) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

this happened when i deleted one of the buttons in my component

then i had issues deleting it

so i duplicated the component and thats when it died

this was all using the component builder