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)
- 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
- ⚠️ Issue: Cannot find module '/app/dist/server/entry.mjs' HOT 1
- Add a tip telling the user that anchor elements are not affected by base config
- ⚠️ Issue, error in Foreign key in schema HOT 1
- Missing results for query "rtl" HOT 4
- View transitions flicker HOT 2
- Docs doesn't specify that `import.meta.env` is evaluated at build time with SSR adapter. HOT 2
- Neovim Formating with pretier doesn't work in .astro files HOT 4
- I tried using export $(cat .env) && astro build and it doesn't work HOT 1
- Image not found when file name contains a space HOT 1
- Add documentation regarding usage of `style` tags in components containing `html` tags (i.e. layout components) HOT 4
- On-demand Rendering Adapters @ Cookies examples are not working - Correct implementation provided 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.