From 461fc7c3ba3f581f94c5a6995ef5d9d250f169e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Gris?= Date: Fri, 16 Aug 2024 18:02:18 +0200 Subject: [PATCH] Fix npm run start ERR_OSSL_EVP_UNSUPPORTED On newer NodeJs versions, the environment variable `NODE_OPTIONS=--openssl-legacy-provider` is required to be able to execute `npm run start`. ```json { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } --- src/game-of-life/hello-world.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game-of-life/hello-world.md b/src/game-of-life/hello-world.md index 6f59daf1..57170d71 100644 --- a/src/game-of-life/hello-world.md +++ b/src/game-of-life/hello-world.md @@ -327,7 +327,7 @@ from running other commands in the meantime. In the new terminal, run this command from within the `wasm-game-of-life/www` directory: ``` -npm run start +NODE_OPTIONS=--openssl-legacy-provider npm run start ``` Navigate your Web browser to [http://localhost:8080/](http://localhost:8080/)