{"id":26844347,"url":"https://github.com/chrisweb/cannot_access_frontmatter_before_initialization","last_synced_at":"2025-03-30T19:28:50.446Z","repository":{"id":284144391,"uuid":"953949891","full_name":"chrisweb/cannot_access_frontmatter_before_initialization","owner":"chrisweb","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T11:07:40.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:26:10.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-24T10:35:31.000Z","updated_at":"2025-03-24T11:07:44.000Z","dependencies_parsed_at":"2025-03-24T12:26:13.225Z","dependency_job_id":"5b04258e-6ffe-414f-a904-430758ce5958","html_url":"https://github.com/chrisweb/cannot_access_frontmatter_before_initialization","commit_stats":null,"previous_names":["chrisweb/cannot_access_frontmatter_before_initialization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisweb%2Fcannot_access_frontmatter_before_initialization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisweb%2Fcannot_access_frontmatter_before_initialization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisweb%2Fcannot_access_frontmatter_before_initialization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisweb%2Fcannot_access_frontmatter_before_initialization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisweb","download_url":"https://codeload.github.com/chrisweb/cannot_access_frontmatter_before_initialization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246368238,"owners_count":20766010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-03-30T19:28:49.932Z","updated_at":"2025-03-30T19:28:50.426Z","avatar_url":"https://github.com/chrisweb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReferenceError: Cannot access 'frontmatter' before initialization\n\nInvestigating a problem that might be related to [remark-mdx-frontmatter](https://github.com/remcohaszing/remark-mdx-frontmatter/issues/17) (not confirmed yet)\n\n```shell\n ⨯ ReferenceError: Cannot access 'frontmatter' before initialization\n    at eval (app\\page.mdx:7:11)\n    at \u003cunknown\u003e (rsc)/./app/page.mdx (C:\\Users\\chris\\grepos\\cannot_access_frontmatter_before_initialization\\.next\\server\\app\\page.js:44:1)\n    at Function.__webpack_require__ (C:\\Users\\chris\\grepos\\cannot_access_frontmatter_before_initialization\\.next\\server\\webpack-runtime.js:33:42) {\n  page: '/'\n}\n```\n\nticket on github: \u003chttps://github.com/remcohaszing/remark-mdx-frontmatter/issues/17\u003e\n\n## reproduction\n\ninstall the dependencies:\n\n```shell\nnpm i\n```\n\nrun the development server:\n\n```shell\nnpm run dev\n```\n\nvisit localhost:3000 in your browser\n\n\u003e [!IMPORTANT]  \n\u003e when installing different versions of packages, after each update make sure to delete the next.js cache","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisweb%2Fcannot_access_frontmatter_before_initialization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisweb%2Fcannot_access_frontmatter_before_initialization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisweb%2Fcannot_access_frontmatter_before_initialization/lists"}