{"id":19235541,"url":"https://github.com/wirehead/gatsby-component-plugin-bug","last_synced_at":"2026-06-10T23:31:38.300Z","repository":{"id":38434932,"uuid":"253113741","full_name":"wirehead/gatsby-component-plugin-bug","owner":"wirehead","description":"Example case for not being able to use React components from a local plugin","archived":false,"fork":false,"pushed_at":"2023-01-06T00:02:05.000Z","size":4348,"stargazers_count":0,"open_issues_count":42,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T12:57:29.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wirehead.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-04T22:52:38.000Z","updated_at":"2020-04-04T23:01:19.000Z","dependencies_parsed_at":"2023-02-05T00:15:52.446Z","dependency_job_id":null,"html_url":"https://github.com/wirehead/gatsby-component-plugin-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wirehead/gatsby-component-plugin-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirehead%2Fgatsby-component-plugin-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirehead%2Fgatsby-component-plugin-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirehead%2Fgatsby-component-plugin-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirehead%2Fgatsby-component-plugin-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wirehead","download_url":"https://codeload.github.com/wirehead/gatsby-component-plugin-bug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirehead%2Fgatsby-component-plugin-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34175887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T16:17:17.273Z","updated_at":"2026-06-10T23:31:38.284Z","avatar_url":"https://github.com/wirehead.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example case for not being able to use React components from a local plugin\n\n1. Generated from `gatsby new gatsby-component-plugin-bug`\n2. Created `plugins/gatsby-local-plugin` and added the required files (index.js, gatsby-config.js) and ran `npm install`\n3. Moved the implementation of `header.js` from the `src` directory to inside the new plugin\n4. Adjusted paths\n5. Added the local plugin \n\nWhat happend:\n\n```\n\u003e gatsby develop\n\nsuccess open and validate gatsby-configs - 0.052s\nsuccess load plugins - 2.393s\nsuccessIonPreInit - 0.005s\nsuccessainitialize cache - 0.008s\nsuccess copy gatsby files - 0.191s\nsuccess onPreBootstrap - 0.024s\nsuccess createSchemaCustomization - 0.011s\nsuccess source and transform nodes - 0.098s\nsuccess building schema - 0.345s\nsuccessecreatePages - 0.002s\nsuccess createPagesStatefully - 0.096s\nsuccess onPreExtractQueries - 0.002s\nsuccess update schema - 0.029s\nsuccess extract queries from components - 0.305s\nsuccess write out requires - 0.047s\nsuccess write out redirect data - 0.004s\nsuccess Build manifest and related icons - 0.123s\nsuccess onPostBootstrap - 0.130s\n⠀\ninfo bootstrap finished - 8.768 s\n⠀\nsuccess run queries - 0.155s - 7/7 45.02/s\nsuccess Generating image thumbnails - 4.277s - 6/6 1.40/s\n\n ERROR #98123  WEBPACK\n\nGenerating development JavaScript bundle failed\n\nCan't resolve 'gatsby-local-plugin/header' in 'C:\\Users\\wirehead\\Documents\\src\\gatsby-component-plugin-bug\\src\\component\ns'\n\nFile: src\\components\\layout.js\n\nfaileddBuilding development bundle - 20.027s\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwirehead%2Fgatsby-component-plugin-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwirehead%2Fgatsby-component-plugin-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwirehead%2Fgatsby-component-plugin-bug/lists"}