create-nw-react-app icon indicating copy to clipboard operation
create-nw-react-app copied to clipboard

Certificate has expired?

Open tolokoban opened this issue 5 years ago • 3 comments

Recently (August 22, 2020 for example), I often experience a certificate error on npm start:

Error: certificate has expired
    at TLSSocket.onConnectSecure (_tls_wrap.js:1501:34)
    at TLSSocket.emit (events.js:315:20)
    at TLSSocket._finishInit (_tls_wrap.js:936:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:710:12) {
  code: 'CERT_HAS_EXPIRED'
}

The code executed by npm start is this:

REACT_APP_WEBSOINS=DEV nw-react-scripts start

npm update seemed to fixed the problem, but it as occurred again and now there is nothing more to update.

Do you know of what certificate this is all about?

tolokoban avatar Aug 22 '20 15:08 tolokoban

Getting the same error here! Looking for a solution

blakewood84 avatar Aug 25 '20 04:08 blakewood84

I'm getting this with other NW.js boilerplates as well. NW.js problem?

blakewood84 avatar Aug 25 '20 04:08 blakewood84

Hello, do we have any resolution for this issue?

Naveenchandra07 avatar Dec 02 '21 16:12 Naveenchandra07