Open dasabhisek opened 2 years ago
package.json
"dependencies": { "@carbon/icons-react": "^10.43.0", "@mdx-js/mdx": "^1.6.22", "@mdx-js/react": "^1.6.22", "carbon-components": "^10.46.0", "carbon-components-react": "^7.46.0", "carbon-icons": "^7.0.7", "gatsby": "^4.7.2", "gatsby-plugin-anchor-links": "^1.2.1", "gatsby-plugin-manifest": "^4.7.0", "gatsby-plugin-mdx": "^3.8.0", "gatsby-plugin-sharp": "^4.7.0", "gatsby-react-router-scroll": "^5.7.0", "gatsby-remark-autolink-headers": "^5.8.0", "gatsby-remark-classes": "^1.0.2", "gatsby-remark-images": "^5.0.0", "gatsby-remark-images-contentful": "^5.7.0", "gatsby-remark-mermaid": "^2.1.0", "gatsby-remark-plantuml": "^0.7.0", "gatsby-remark-prismjs": "^6.7.0", "gatsby-source-contentful": "^7.5.0", "gatsby-source-git": "^1.1.0", "gatsby-theme-carbon": "^2.3.0", "gatsby-transformer-gitinfo": "^1.1.0", "gatsby-transformer-sharp": "^4.7.0", "gatsby-transformer-sqip": "^4.7.0", "path": "^0.12.7", "postcss": "^8.1", "prismjs": "^1.26.0", "puppeteer": "^13.3.2", "react": "^17.0.2", "react-dom": "^17.0.2", "remark-grid-tables": "^2.1.2" }, "devDependencies": { "gatsby-remark-code-titles": "^1.1.0", "gh-pages": "^3.2.3" }
Do you have a link to a repo where this is happening? I haven't seen this error before. Or can you share what is in your index.mdx file?
We have index.js
files at src/pages path (below). Also we are using git-source-remote
to import .md/.mdx files from github repository and transform them into pages using gatsby-transform-remark
plugin. We are using a .js template (below) to render the content of the transformed pages.
Still waiting for the solution.
Detailed description
While runing
gatsby develop
to build.mdx
file insrc/pages
and from git remote source getting this errorSteps to reproduce the issue
Additional information
I am using
gatsby-plugin-mdx
along withgatsby-theme-carbon
Here is my gatsby-config.json details