Skip to content

Usage Error: Unrecognized or legacy configuration settings foundΒ #796

Open
@ramzieus

Description

node 18.16.0
yarn 3.2.1
os ubuntu 22.04.1

Procfile.dev

js: yarn re:watch
vite: bin/vite dev
web: bin/rails s

log

15:15:02 js.1   | started with pid 1388449
15:15:02 vite.1 | started with pid 1388450
15:15:02 web.1  | started with pid 1388451
15:15:03 js.1   | Usage Error: Unrecognized or legacy configuration settings found: production - run "yarn config -v" to see the list of settings supported in Yarn (in <environment>)
15:15:03 js.1   | 
15:15:03 js.1   | $ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
15:15:03 js.1   | exited with code 1
15:15:03 system | sending SIGTERM to all processes
15:15:03 vite.1 | terminated by SIGTERM
15:15:03 web.1  | terminated by SIGTERM

I have this issue only when running foreman start -f Procfile.dev
but when run manually yarn re:watch it's works perfectly

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