Skip to content

load package version failure when using yarn@3 #215

@breeze9527

Description

@breeze9527

in getPackageData function,
install-peerdeps using yarn info package@version --json to get package.json content.
but seems like unwork in yarn@3:

first problem, yarn info do not support specify version number in package name
image

and, stdout return content with unexpected format:
image

english is not my native language, hope you understand what i meant 😄

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