From f1d6a2632b11beab005489bc86177aca2f72058e Mon Sep 17 00:00:00 2001 From: alcoholicp4nd4 Date: Sun, 11 May 2025 05:09:11 +0100 Subject: [PATCH] read-me-changes --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 39a3c5b..7b696eb 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,23 @@ A tutorial demonstrating how to draw a large number of particles with Three.js a - Run `npm start` - Build `npm run build` +## OpenSSL Configuration (if you encounter build errors) + +If you see errors related to OpenSSL when running or building the project (especially with Node.js v17+), use the `--openssl-legacy-provider` flag as shown below based on your OS: + +### Linux : +```bash +-sudo apt update +-sudo apt install openssl +-export NODE_OPTIONS=--openssl-legacy-provider + +### Windows CMD: +-set NODE_OPTIONS=--openssl-legacy-provider + +### Powershell: +-$env:NODE_OPTIONS="--openssl-legacy-provider" + + ## Libraries - [ControlKit](https://github.com/brunoimbrizi/controlkit.js) - GUI - [gsap](https://www.npmjs.com/package/gsap) - animation platform