Open robjac opened 5 years ago
Also, my site is already successfully reading and using .mdx
So this error is rather confusing.
I then ran
yarn add gatsby-plugin-mdx
and started my docz site,
then:
ERROR
UNHANDLED REJECTION Cannot read property 'forEach' of undefined
TypeError: Cannot read property 'forEach' of undefined
- index.js:59 AsyncFunction.createMdxAstCompiler
[.docz]/[@mdx-js]/mdx/index.js:59:13
- gen-mdx.js:87 genMDX
[.docz]/[gatsby-plugin-mdx]/utils/gen-mdx.js:87:24
- task_queues.js:55 runNextTicks
internal/process/task_queues.js:55:5
- timers.js:412 processImmediate
internal/timers.js:412:9
- mdx-loader.js:159 Object.module.exports
[.docz]/[gatsby-plugin-mdx]/loaders/mdx-loader.js:159:28
I got the same error~
The same for me, any solution?
I am also seeing error TypeError: Cannot read property 'forEach' of undefined
once adding the docz-plugin-css
. Any info appreciated
In my case, I found out this plugin is only for docz v1. With docz v2 there is a new way to do css preprocessors:
@trybick thanks for sharing. Is this new documentation? I've had to put my project on hold because of a number of issues without any documentation ( but this could help! )
thanks again.
Do i need to install this as well? your instructions and examples do not detail this process.