Skip to content

The codesandbox demo could not run! #9489

Open

Description

@dangkhoipro

Have you read the Contributing Guidelines on issues?

Description

The codesandbox demo link throws an error. I think you should fix this bug as soon as possible.
Step to re-produce:

  • Open docusaurus.io
  • Click Try a Demo button
  • Check the terminal result
    image

Self-service

  • I'd be willing to address this documentation request myself.

Activity

  1. added
    documentationThe issue is related to the documentation of Docusaurus
    status: needs triageThis issue has not been triaged by maintainers
    on Nov 1, 2023
  2. homotechsual commented on Nov 1, 2023

    @homotechsual
    Contributor

    A v3 config.ts file is present in the sandbox with v2 dependencies.

  3. homotechsual commented on Nov 1, 2023

    @homotechsual
    Contributor

    Seems like CodeSandbox isn't running a fresh install when building the sandbox so they are getting cached v2 packages with a v3 site structure. Not sure what we'd need to do on this one or if it can be solved from our end.

  4. dangkhoipro commented on Nov 3, 2023

    @dangkhoipro
    Author

    I think yarn.lock is outdated. So I remove the old file, re-run again, remove some js file (because the sandbox version I check is typescript), and bump it works!
    I'm not sure if I covered all the errors, but here is the forked sandbox I modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThe issue is related to the documentation of Docusaurusstatus: needs triageThis issue has not been triaged by maintainers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions