Open jessewriter opened 2 years ago
@jessewriter , I was able to work around the problem by updating the start
command in package.json
to the following:
"start": "export NODE_OPTIONS=--openssl-legacy-provider && react-scripts start"
@pixelOneZero yes that is a good workaround but one with less security
Issue Overview
On Fedora Linux with updated SSL these projects will not start but can be simply fixed by updating package.json
Describe your environment
Fedora 36
Steps to Reproduce
Expected Behavior
expect project to run
Current Behavior
projects will not start /React Training/react-design-patterns-2895130/node_modules/babel-loader/lib/index.js:59:103 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } at /home/developer/Documents/React Training/react-design-patterns-2895130/node_modules/babel-loader/lib/index.js:59:103 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }
Possible Solution
"dependencies": { "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^13.5.0", "react": "^18.1.0", "react-dom": "^18.1.0", "react-scripts": "5.0.1", "styled-components": "^5.3.5", "web-vitals": "^2.1.4" },
Screenshots / Video
Related Issues