handlebars-lang / docs

Documentation for handlebars.js and the handlebars-language
https://handlebarsjs.com
MIT License
36 stars 47 forks source link

Fix rendering of CLI help-message #130

Closed jaylinski closed 1 year ago

jaylinski commented 1 year ago

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

Fixes #124

image

scriptype commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.