Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i upgrading project to beta-15 #6643

Closed
5 of 7 tasks
KInGATiLLa opened this issue Feb 9, 2022 · 2 comments
Closed
5 of 7 tasks

When i upgrading project to beta-15 #6643

KInGATiLLa opened this issue Feb 9, 2022 · 2 comments
Labels
external This issue is caused by an external dependency and not Docusaurus.

Comments

@KInGATiLLa
Copy link

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

I have upgraded my project deps to latest beta version 15, previously it was beta version 14. It is working in beta version 14. But in beta version 15 it doesn't work. This error occurs on every docs ".md" pages.

Steps to reproduce

  1. Dependency update from beta 14 to beta 15.
  2. npm start in current project
  3. Above error occurs
  4. npm run clear
  5. rm -rf node_modules/ package-lock.json build .docusaurus
  6. npm start
  7. Nothing could changed

Expected behavior

It work fine with docs .md pages without error.

Actual behavior

image

Your environment

  • Public source code:
  • Public site URL:
  • Docusaurus version used: beta-15
  • Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome 98, Node.js 16.13.2
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS): Mac Pro M1 monterey

Reproducible demo

No response

Self-service

  • I'd be willing to fix this bug myself.
@KInGATiLLa KInGATiLLa added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Feb 9, 2022
@Josh-Cena
Copy link
Collaborator

Hi, you probably have upgraded @mdx-js/react to v2 along the way. See #6520 (comment). You should stay on MDX v1 as we are not compatible with v2 yet. See #4029.

@Josh-Cena Josh-Cena added external This issue is caused by an external dependency and not Docusaurus. and removed bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Feb 9, 2022
@KInGATiLLa
Copy link
Author

Ok i got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external This issue is caused by an external dependency and not Docusaurus.
Projects
None yet
Development

No branches or pull requests

2 participants