Code Monkey home page Code Monkey logo

Comments (3)

bartlomiejzuber avatar bartlomiejzuber commented on June 24, 2024 2

Hey, we had same issue with our project. After investigation we've found out that the problem was on our side, we've added a mdx integration with:
pnpm astro add mdx

But we also had a line in .npmrc with:
strict-peer-dependencies=false

Which in result caused ignoring peerDependencies property on package.json, that in result pulled latest @astrojs/mdx which didn't work because we had an astro version set to 4.5.1.

If you have same issue either upgrade your astro to ^4.8.0 or downgrade @astrojs/mdx.

from docs.

MwirabuaTimothy avatar MwirabuaTimothy commented on June 24, 2024

Also whenever I add other remark plugins, @astro/mdx crushes with the same error.
So I have to first uninstall @astro/mdx and remove it from the astro.config.ts, complete adding and testing the other remark plugin, then come back and install @astro/mdx using the npx astro add mdx

from docs.

TheOtterlord avatar TheOtterlord commented on June 24, 2024

I'm not able to replicate this. Are you able to share your repo, or a minimal reproduction? I'll close this issue as it doesn't seem this isn't related to the docs. Feel free to continue discussing with me here, or join our Discord to share in our support channels.

from docs.

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.