romi / plant-3d-explorer

Browser application to visualize 3D scanned plants
https://romi.github.io/plant-3d-explorer/
GNU Affero General Public License v3.0
7 stars 6 forks source link

Running plant 3D explorer on modern operating systems #155

Closed EvanZarrella closed 2 years ago

EvanZarrella commented 2 years ago

There is an error raised by React ( error:0308010C:digital envelope routines::unsupported ) when running on Fedora 36.

The error seems to come from the system's OpenSSL version which is version 3. The bug happens when running the latest node LTS release (16.X). This issue is likely to affect any modern Linux system (Arch based, Fedora etc.).

This issue is not covered by tests as all tests were passing.

FIX

Prior to npm start run export NODE_OPTIONS=--openssl-legacy-provider in the terminal. This option being unavailable in node version > 17.X this requires an install.