Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types is mandatory and not documented #105

Open
devdigital opened this issue Nov 21, 2019 · 2 comments · May be fixed by #134
Open

Types is mandatory and not documented #105

devdigital opened this issue Nov 21, 2019 · 2 comments · May be fixed by #134

Comments

@devdigital
Copy link

Hi, great library, thanks. The config types appear to be mandatory, and are not documented. Without types specified, I get the following exception from inquirer:

(node:15496) UnhandledPromiseRejectionWarning: Error: You must provide a `choices` parameter
    at ListPrompt.throwParamError (/Users/LovellI/source/prosejs/node_modules/inquirer/lib/prompts/base.js:73:11)
    at new ListPrompt (/Users/LovellI/source/prosejs/node_modules/inquirer/lib/prompts/list.js:21:12)
    at PromptUI.fetchAnswer (/Users/LovellI/source/prosejs/node_modules/inquirer/lib/ui/prompt.js:85:25)
    at MergeMapSubscriber._tryNext (/Users/LovellI/source/prosejs/node_modules/rxjs/internal/operators/mergeMap.js:69:27)

Suggest that some types are provided by default, or better error message, and README updated.

@no-creative-name
Copy link

Hi @leonardoanalista,
I tried to push a branch with a fix for this issue, but Git throws this error:
ERROR: Permission to leoforfree/cz-customizable.git denied to no-creative-name.

Do you have any idea why?

@no-creative-name no-creative-name linked a pull request Aug 24, 2020 that will close this issue
@leonardoanalista
Copy link
Member

@no-creative-name do you still need this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants