Home > Blockchain >  While I'm trying to create React app this particular error is coming
While I'm trying to create React app this particular error is coming

Time:05-05

C:\Users\souvik das>cd documents

C:\Users\souvik das\Documents>npx create-react-app blog

Creating a new React app in C:\Users\souvik das\Documents\blog.

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! errno ERR_SSL_CIPHER_OPERATION_FAILED
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/react-dom: F42A0000: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\souvik das\AppData\Local\npm-cache\_logs\2022-05-04T16_20_42_133Z-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... package.json
Deleting blog/ from C:\Users\souvik das\Documents
Done.

CodePudding user response:

have you tried updating the package by using npm update create-react-app?

CodePudding user response:

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

  • Related