Skip to content

Bug: Migrate bin/index.mjs rewritten as index.js , causing CLI to fail #6897

Closed

Description

@sambacha

Have you read the Contributing Guidelines on issues?

Prerequisites

Description

Bug: Migrate bin/index.mjs rewritten as index.js , causing CLI to fail

Reproducible demo

No response

Steps to reproduce

install migrate

Expected behavior

to run migrate

Actual behavior

fails to load as esm module needs to be .mjs not .js

Your environment

osx 10.15

Self-service

  • I'd be willing to fix this bug myself.

Activity

  1. added
    bug
    status: needs triage
    on Mar 11, 2022
  2. Josh-Cena commented on Mar 11, 2022

    @Josh-Cena
    Collaborator

    Thanks for the report! This has already been fixed. Could you try with @docusaurus/migrate@canary?

  3. removed
    status: needs triage
    on Mar 11, 2022
  4. slorber commented on Mar 11, 2022

    @slorber
    Collaborator

    Oh I see, that's why I see it working for me :D

  5. Josh-Cena commented on Mar 13, 2022

    @Josh-Cena
    Collaborator

    Going to close as resolved. The migration CLI isn't used a lot these days anyways

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions