Comments (3)
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.
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.
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)
- Double/triple click headings copy issues HOT 2
- Getting errors creating a new project
- The remark config documentation misses some important information HOT 3
- Clarify how to implement social image URLs HOT 4
- Missing explanation about "themes" from ShikiConfig in syntax highlighting HOT 2
- ⚠️ Issue - The implementation of themes from Shiki is not working properly. HOT 1
- Add a bit more help text to client:only description
- Give us feedback form Appearance is not in line with Astro Doc Styling HOT 1
- RTL Docs `Inline Code Snippet` need to be always LTR. HOT 3
- Deploying to GitHub Pages is problematic/flakey HOT 1
- Prettier plugin content is incorrect. HOT 2
- Middleware: unclear that reading cookies/headers behaviour HOT 1
- Improve documentation on fallback content for slots HOT 3
- Unclear refactoring task
- Script Tag CDNs with View Transitions HOT 1
- `prose-p:text-justify` makes recipe less usable HOT 1
- Document `?url` usage in Imports docs HOT 2
- Tutorial says that the rss.xml can't be seen in development but it actually can be HOT 2
- There are many ways to create a blog with Astro. How to choose one? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.