Why is a registered prompt not working in a plugin? #1117
Answered
by
SBoudrias
nareshbhatia
asked this question in
Q&A
-
I register the
When I use this prompt in the main app it works very nicely. However, when I try to use it in a dynamically loaded plugin (e.g. here, it does not work. It acts as if it was a normal input. Am I missing some important detail about registering prompts? |
Beta Was this translation helpful? Give feedback.
Answered by
SBoudrias
May 25, 2022
Replies: 1 comment 3 replies
-
It doesn't look like |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
nareshbhatia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't look like
inquirer.registerPrompt('directory', inquirerDirectory);
is called in the file causing issue. Where is the plugin loaded & defined if not in that file?