Inquirer.js icon indicating copy to clipboard operation
Inquirer.js copied to clipboard

Keyboard Inputs not working

Open sahibs99 opened this issue 3 years ago • 3 comments

Hi there,

When using Inquirer in our project, for whatever reason, the keyboard inputs do not work. It instead prints out what keys are being clicked as such: Screen Shot 2022-05-18 at 4 19 53 PM

We are using esbuild to create a script that uses Inquirer and we have tried to use the branch that uses esm as well but we cannot pinpoint why this is happening. Any guidance is would be greatly appreciated. Thanks!

sahibs99 avatar May 18 '22 23:05 sahibs99

This is unlikely to be related to ESM or commonjs module type.

Any chance there is multiple opened readline at the same time? Or maybe multiple processes acting on the stdout/in? At first look, this seems like conflicting processes rather than an issue internal to Inquirer.

SBoudrias avatar May 20 '22 18:05 SBoudrias

I also have this issue, I have a feeling it may be caused by zsh or zshautocomplete.

wlkns avatar Jul 09 '22 07:07 wlkns

Infact - update on this, problem was caused by nodemon, ran normally and it was fine.

wlkns avatar Jul 09 '22 07:07 wlkns