facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.21k stars 26.67k forks source link

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

Open theunderdogdev opened 2 years ago

theunderdogdev commented 2 years ago

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

savvy19 commented 2 years ago

I solved the issue , just go to windows settings -> Network reset -> reset now and hit the reset .. and restart your PC . it worked for me

JosueBCe commented 11 months ago

I solved the issue , just go to windows settings -> Network reset -> reset now and hit the reset .. and restart your PC . it worked for me

did you solve the issue with this?

savvy19 commented 11 months ago

@JosueBCe yes i did