Code Monkey home page Code Monkey logo

Comments (7)

robjac avatar robjac commented on July 19, 2024 4

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

from docz-plugin-css.

trybick avatar trybick commented on July 19, 2024 1

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:

https://www.docz.site/docs/usage-with-css-preprocessors

from docz-plugin-css.

robjac avatar robjac commented on July 19, 2024

Also, my site is already successfully reading and using .mdx

So this error is rather confusing.

from docz-plugin-css.

zy941002 avatar zy941002 commented on July 19, 2024

I got the same error~

from docz-plugin-css.

enric-jorda avatar enric-jorda commented on July 19, 2024

The same for me, any solution?

from docz-plugin-css.

trybick avatar trybick commented on July 19, 2024

I am also seeing error TypeError: Cannot read property 'forEach' of undefined once adding the docz-plugin-css. Any info appreciated

from docz-plugin-css.

robjac avatar robjac commented on July 19, 2024

@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.

from docz-plugin-css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.