You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using netlify-cms-app (^2.15.72) with netlify-cms-widget-mdx (0.5.0). When I try to use the Markdown Editor the Preview Panel displays "Invalid MDX: TypeError: process.cwd is not a function" and the console message below.
Hey Ken, your setup should be fine. It's not really about the Netlify setup per se, it's about the webpack config of the admin panel (Gatsby web app and admin app are like 2 separate apps). Your code or some package you're using in your code, is using node style code that's not being properly handled for web use case (some webpack plugin for env variables is missing).
Previously, you couldn't adjust the Netflify CMS webpack config, but it seems later versions could handle that. I suggest looking at gatsbyjs/gatsby#10326 for more hints.
Hello, I'm using netlify-cms-app (^2.15.72) with netlify-cms-widget-mdx (0.5.0). When I try to use the Markdown Editor the Preview Panel displays "Invalid MDX: TypeError: process.cwd is not a function" and the console message below.
netlifycms.config.ts
index.tsx
Am I missing something with my configuration?
The text was updated successfully, but these errors were encountered: