Skip to content

Action doesn't work with Yarn 3 #2

Description

@kachar

I'm using yarn berry v3.3.0 in my project and seems that the action uses syntax for yarn classic 1.x

yarn set version berry
Run plasmicapp/plasmic-action@master
Detected existing app. Moving forward...
Updating dependencies.
$ yarn add -W @plasmicapp/loader-nextjs
Unknown Syntax Error: Unsupported option name ("-W").

$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
Error: Command failed: yarn add -W @plasmicapp/loader-nextjs

Line in code:

add: "yarn add -W",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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