-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Error when trying to run docs site locally #542
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This is now fixed thanks to @ChristopherBiscardi's detective work. |
Following the contributing steps for running the docs site, I get this same issue only in a new location from the original issue.
If I update {
resolve: 'gatsby-plugin-compile-es6-packages',
options: {
- modules: ['gatsby-theme-mdx']
+ modules: ['gatsby-theme-mdx', 'gatsby-plugin-mdx']
}
}, @johno, could I submit a PR to include this fix? |
Would happily accept a PR @indiesquidge! I think there might be a regression/issue with Gatsby or |
Unclear whether this is a steadfast solution or a patch for the issue of having ES6+ code in a npm dependency, but for now it allows the docs site to be run locally. Ref: gatsbyjs/gatsby#3780 Ref: mdx-js#542
Unclear whether this is a steadfast solution or a patch for the issue of having ES6+ code in a npm dependency, but for now it allows the docs site to be run locally. Ref: gatsbyjs/gatsby#3780 Ref: mdx-js#542
Unclear whether this is a steadfast solution or a patch for the issue of having ES6+ code in a npm dependency, but for now it allows the docs site to be run locally. Ref: gatsbyjs/gatsby#3780 Ref: mdx-js#542
Unclear whether this is a steadfast solution or a patch for the issue of having ES6+ code in a npm dependency, but for now it allows the docs site to be run locally. Ref: gatsbyjs/gatsby#3780 Ref: #542
Subject of the issue
I am unable to start the Gatsby dev server for the docs site after cloning, installing, and bootstrapping this repo (as described at https://mdxjs.com/contributing).
Your environment
Steps to reproduce
yarn
yarn bootstrap
yarn docs
Expected behaviour
yarn docs
should start a dev server of https://mdxjs.com/ locally (on localhost:8000).Actual behaviour
yarn docs
errors and exits:The text was updated successfully, but these errors were encountered: