ddollar / foreman

Manage Procfile-based applications
http://ddollar.github.com/foreman
MIT License
6.01k stars 630 forks source link

Usage Error: Unrecognized or legacy configuration settings found #796

Open ramzieus opened 10 months ago

ramzieus commented 10 months ago

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