Lift-off: Error: error:0308010C:digital envelope routines::unsupported when running client application

When running npm start for the client repo. It would fail with an error of Error: error:0308010C:digital envelope routines::unsupported.

To resolve this, each time I cloned a repo I added --openssl-legacy-provider to the "start" script (which looked like this after adding it "start": "react-scripts --openssl-legacy-provider start",.

Running npm start after that change runs the application successfully.

This issue seems to trigger while using node version above 18 (specifically I am using 18.4.0).

Is there documentation on which node version these repos should be run with?

Thanks @Eldroy for making note of this. We’re working on updating the starter code repos to enforce specific node versions. In the meantime, if you are using v18 then the addition of the --openssl-legacy-provider flag works perfectly.

1 Like