fossology / FOSSologyUI

Repository to hold the new UI framework for FOSSology built with React
https://fossology.github.io/FOSSologyUI/
GNU General Public License v2.0
49 stars 87 forks source link

Error during UI setup, digital envelope routines::unsupported #279

Open dvjsharma opened 1 year ago

dvjsharma commented 1 year ago

Description

After cloning FOSSologyUI on Ubuntu 22.04.3 and running yarn install followed by yarn start, an error is thrown showing Error: error:0308010C:digital envelope routines::unsupported

The error screenshot is attached below

Screenshot from 2023-10-10 15-23-03

How to reproduce

Follow the Project Setup steps in https://github.com/fossology/FOSSologyUI#readme . On yarn start you will experience the error

Versions

hharshas commented 1 year ago

I was also facing the same issue while installing. But when I changed the react start command from "start": "react-scripts start" to "start": "react-scripts --openssl-legacy-provider start", it started working for me.

dvjsharma commented 1 year ago

error:0308010C:digital envelope routines::unsupported

Absolutely, I managed to resolve the issue using the same solution. However, for newcomers setting up the repository, this might not offer the smooth developer experience we aim for. I'm eager to take on this issue and enhance the documentation/script to provide a more seamless on-boarding process.

Expected Fix- Either specify a node version for the build or update the script to provide backward compatibility using openssl flag to resolve the issue.

@shaheemazmalmmd @GMishx please assign me this issue