Skip to content

I defined two NPM Vue components and published them in the repository. There is no problem using it alone, but if it is referenced to a project, an error will be reported #217

Open
@zxuanhong

Description

@zxuanhong

Describe the bug

  1. Define two NPM Vue components, both of which use codemirro. At the same time, both components use ncu u to upgrade all dependencies
  2. If two components are introduced into the same project at the same time, an error will be reported. No problem using it alone
iShot_2024-01-04_22 42 24

Reproduction

  1. Define two NPM Vue components, both of which use codemirro. At the same time, both components use ncu u to upgrade all dependencies
  2. If two components are introduced into the same project at the same time, an error will be reported.

System Info

mac
"vue-codemirror": "^6.1.1"
"codemirror": "^6.0.1"

Used Package Manager

npm

Validations

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions