Skip to content

Cannot build app while use yarn v4 with railpack #2129

Description

@Hoshino-Yumetsuki

To Reproduce

#17 1.160 Usage Error: Unrecognized or legacy configuration settings found: production - run "yarn config -v" to see the list of settings supported in Yarn (in <environment>)
#17 1.160
#17 1.160 $ yarn install [--json] [--immutable] [--immutable-cache] [--refresh-lockfile] [--check-cache] [--check-resolutions] [--inline-builds] [--mode #0]
#17 ERROR: process "yarn install --frozen-lockfile" did not complete successfully: exit code: 1
------
> yarn install --frozen-lockfile:
1.160 Usage Error: Unrecognized or legacy configuration settings found: production - run "yarn config -v" to see the list of settings supported in Yarn (in <environment>)
1.160
1.160 $ yarn install [--json] [--immutable] [--immutable-cache] [--refresh-lockfile] [--check-cache] [--check-resolutions] [--inline-builds] [--mode #0]
------
ERROR: failed to build: failed to solve: process "yarn install --frozen-lockfile" did not complete successfully: exit code: 1

Current vs. Expected behavior

Provide environment information

-

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions