Error during UI setup, digital envelope routines::unsupported
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
How to reproduce
Follow the Project Setup steps in https://github.com/fossology/FOSSologyUI#readme . On yarn start you will experience the error
Versions
- Operating System : Ubuntu 22.04.3
- Browser : Version 117.0.5938.149 (Official Build) (64-bit)
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.
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