Cannot build on server - "gatsby-plugin-mdx" threw an error while running the createSchemaCustomization #217
Unanswered
elbuendiscipulo
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I use these versions, same on server and local: This issue talk about similar issue with another plugin together with "gatsby-plugin-mdx" but their solution was to upgrade the plugins and I already have higher version than they recommend. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I get this error when building this starter kit on a server for production, I have tested the code on 3 different computers and it works locally on MacOS and Windows, however when on the server (Ubuntu) I cannot neither do yarn build or yarn develop.
Im using:
[email protected]
Gatsby CLI version: 3.13.0
Gatsby version: 4.2.0
Same versions locally, macOs, as on server Ubuntu.
I suspect the error comes from this file https://github.com/Vagr9K/gatsby-advanced-starter/blob/master/themes/advanced/gatsby/gatsby-config.ts at line 95
Has anyone encountered the same error or any idea on how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions