From 7c76e9b424007d3594be0ae97d7b90d93bcf274c Mon Sep 17 00:00:00 2001 From: cuca Date: Sat, 15 Apr 2023 21:34:03 -0300 Subject: [PATCH 1/2] Add note to avoid confusion when following the book --- src/game-of-life/hello-world.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game-of-life/hello-world.md b/src/game-of-life/hello-world.md index 6f59daf1..d7ff956a 100644 --- a/src/game-of-life/hello-world.md +++ b/src/game-of-life/hello-world.md @@ -317,6 +317,10 @@ Since we declared a new dependency, we need to install it: npm install ``` +> Note that if using `webpack` with newer Node.js versions, one may have to +> set NODE_OPTIONS environment variable to [`--openssl-legacy-provider`](https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html) due +> to older versions not [being compliant with OpenSSL 3.0](https://github.com/webpack/webpack/pull/14306) + Our Web page is now ready to be served locally! ## Serving Locally From d2f01c1d486d5ebb4327a95cd11cfab787eb387a Mon Sep 17 00:00:00 2001 From: cuca Date: Sat, 15 Apr 2023 21:42:01 -0300 Subject: [PATCH 2/2] Improve note copy --- src/game-of-life/hello-world.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game-of-life/hello-world.md b/src/game-of-life/hello-world.md index d7ff956a..7da10880 100644 --- a/src/game-of-life/hello-world.md +++ b/src/game-of-life/hello-world.md @@ -317,9 +317,9 @@ Since we declared a new dependency, we need to install it: npm install ``` -> Note that if using `webpack` with newer Node.js versions, one may have to +> Note that when using `webpack` on newer Node.js versions, one may have to > set NODE_OPTIONS environment variable to [`--openssl-legacy-provider`](https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html) due -> to older versions not [being compliant with OpenSSL 3.0](https://github.com/webpack/webpack/pull/14306) +> to older versions not [complying with OpenSSL 3.0](https://github.com/webpack/webpack/pull/14306) Our Web page is now ready to be served locally!