Skip to content

Starter code does not work in v18 #3

Open
@lpelypenko

Description

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. 

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions