Skip to content

Yarn Berry (v2 & v3) is not supported: Unsupported option name ("--no-lockfile") #741

@lolmaus

Description

@lolmaus

Hi!

When trying to run yarn test:ember-compatibility in my addon, I receive:

❯ yarn test:ember-compatibility
Unknown Syntax Error: Unsupported option name ("--no-lockfile").

$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
Error!
1
undefined

This is because Yarn Berry does not have the --no-lockfile option.

I cannot use Yarn 1 because it crashes on nohoist: *, and package hoisting in my monorepo breaks many things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions