Skip to content

Error: error:0308010C:digital envelope routines::unsupported when running npm start on Node.js 22 #60

@emiedonmokumo

Description

@emiedonmokumo

When I run npm start on Node.js v22, the React app fails to start with an OpenSSL error.

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:79:19)
    ...
Node.js v22.14.0

Environment
OS: Windows 10
Node.js: v22.14.0
npm: v10.x
react-scripts: 3.0.1
react: 16.8.6

Steps to Reproduce
Clone the repo
Run npm install
Run npm start
Observe the crash

Expected Behavior
Development server should start normally at http://localhost:3000/.

Actual Behavior
Throws Error: error:0308010C:digital envelope routines::unsupported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions