-
Notifications
You must be signed in to change notification settings - Fork 9
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
CLI invalid options trigger an hard-to-understand stacktrace #198
Comments
The problem you are running into is that you have given the processor a whole bunch of invalid options by including this in the command:
While the CLI should probably be more clear about the invalid option, that is the cause. You can fix it by adding a space after the
Also, instead of installing the asciidoctor npm package globally, I recommend the following instead:
npx manage the installation for you on demand so you don't have to worry about where it gets installed. |
Hi @mojavelinux , thanks a lot for the quick answer!
it works fine! Can I just rename this bug to "CLI invalid options trigger an hard-to-understand stacktrace" ? |
I'm glad that worked! As to whether to rename the issue or to file a new one, that's up to @ggrossetie. |
for now I renamed this issue, @ggrossetie please let me know if that's not ok and I should close this and open a new one instead, thanks. |
I'm fine with it, thanks for your help Dan! |
Hi all,
I'm trying to use asciidoctor (on top of npm) to produce HTML documentation.
Working on RHEL I managed to install successfully:
but then launching the tool I get the following error:
I have no clue how to fix it.... any hint?
thanks
PS: I cannot use "dnf install asciidoctor" because actually I'm trying to get Asciidoctor working on readthedocs.io that requires Asciidoctor to be installed through npm
The text was updated successfully, but these errors were encountered: