Skip to content

create-react-app logs error cipher operation failed #12000

Open
@theunderdogdev

Description

@theunderdogdev

PS E:\VS projs\react-app> npx create-react-app app

Creating a new React app in E:\VS projs\react-apps\app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SSL_CIPHER_OPERATION_FAILED
npm ERR! A4250000:error:1C800066:Provider routines:ossl_gcm_stream_update:cipher operation
failed:c:\ws\deps\openssl\openssl\providers\implementations\ciphers\ciphercommon_gcm.c:312:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ruturaj_k\AppData\Local\npm-cache\_logs\2022-01-30T09_11_05_521Z-debug-0.log

Aborting installation.
  npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... node_modules
Deleting generated file... package.json
Deleting app/ from E:\VS projs\react-apps
Done.

I googled this seems no one has encountered this before can anyone explain me about this.
I tried clearing cache "npm cache clean --force" reinstalled node js but seems no effect

node js and npm version

E:\VS projs>node -v
v17.4.0

E:\VS projs>npm -v
8.4.0

Node JS SSL ISSUE
The above solutions didn't work for me

Metadata

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