Stuck! `next dev` script not responding to arrow/enter keys (control characters printing instead)
Answered
Tonkinese posted this in #help-forum
TonkineseOP
I have a confusing situation running next/payload on macOS here: suddenly my dev script is no longer acknowledging my arrow or enter keys. When I try to move between menus with arrow keys, or select one with enter, it just prints the control codes. I'm using payload, and need to respond to the interactive database migration prompts. I have tried several terminals and have eliminated docker to no avail. The strangest thing is that this has been working for weeks and just started to act up, with no obvious software or config changes. Please help, this silly issue has me completely stuck!
Answered by Tonkinese
Resolved: apparently payload doesn't like to start up with pending changes that cause a migration. After much debugging, I determined that letting the app get up and running before making the migration-causing change allowed the CLI to function correctly 🥴
1 Reply
TonkineseOP
Resolved: apparently payload doesn't like to start up with pending changes that cause a migration. After much debugging, I determined that letting the app get up and running before making the migration-causing change allowed the CLI to function correctly 🥴
Answer