Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starter code does not work in v18 #3

Open
lpelypenko opened this issue May 8, 2024 · 0 comments
Open

Starter code does not work in v18 #3

lpelypenko opened this issue May 8, 2024 · 0 comments

Comments

@lpelypenko
Copy link

Lesson: https://students.skills.chegg.com/curriculum/FRONT_END-501/fe-frontend-web-development/fe-react-router/fe-using-router-switch-route-and-linkThe recommended node version is 18 but the starter code is not updated to support v18 and error is shown: 

opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'

Problem is described in
https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported 

I fixed it by updating package.json from "start": "react-scripts start" to "start": "react-scripts --openssl-legacy-provider start".

Please fix this without hot fix but update the starter code and all dependencies and also setup open SSL. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant