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

Fix rendering of CLI help-message #130

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Fix rendering of CLI help-message #130

merged 1 commit into from
Sep 6, 2023

Conversation

jaylinski
Copy link
Member

@jaylinski jaylinski commented Aug 30, 2023

As pointed out in #124, we have to use stdout instead of stderr to get the CLI help-message.

Fixes #124

image

@scriptype
Copy link

I was just about to push the exact fix, you are fast :)

But now that I'm here, I decided to take a look at the PR. I've noticed that there are a few changes in the PR that are unrelated to the issue. Could they be your prettier/formatter doing automatic changes?

I also wanted to ask if you've also encountered the ERR_OSSL_EVP_UNSUPPORTED error during webpack build? When I was running the npm run dev or npm run preview commands, the task couldn't complete because of this error and I had to work around it by following the advice here: https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported.

@ilharp
Copy link
Contributor

ilharp commented Aug 31, 2023

I also wanted to ask if you've also encountered the ERR_OSSL_EVP_UNSUPPORTED error during webpack build? When I was running the npm run dev or npm run preview commands, the task couldn't complete because of this error and I had to work around it by following the advice here: stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported.

This is one of the most common problems with Webpack 4 today, just set NODE_OPTIONS to --openssl-legacy-provider to suppress it. Upgrading to Webpack 5 requires changing the doc framework (to something other than VuePress 1), so I guess this may not be done for a while.

@jaylinski
Copy link
Member Author

jaylinski commented Aug 31, 2023

I also wanted to ask if you've also encountered the ERR_OSSL_EVP_UNSUPPORTED error during webpack build? When I was running the npm run dev or npm run preview commands, the task couldn't complete because of this error and I had to work around it by following the advice here: https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported.

I only got it to work by using Node 14. We should update to vitepress, but I think that's a lot of work.

@jaylinski jaylinski self-assigned this Aug 31, 2023
@jaylinski jaylinski merged commit 13a2e2d into master Sep 6, 2023
@jaylinski jaylinski deleted the fix-cli-help branch September 6, 2023 20:57
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 this pull request may close these issues.

Usage snippet in installation/precompilation is broken
3 participants