cancel
Showing results for 
Search instead for 
Did you mean: 

Composable Storefront 5.0.0 :unable to get local issuer certificate

rajeshanexpert
Discoverer
436

Hi Team,

When I am trying to upgrade the SAP Spartacus 4.3.7 to Composable storefront 5.0.0 through the CLI command "ng update @spartacus/schematics@5.0.0" then I am getting the below error.

Below error I am getting in the error.log file
Error: unable to get local issuer certificate

at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)

at TLSSocket.emit (events.js:400:28)

at TLSSocket._finishInit (_tls_wrap.js:937:8)

at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12)

I hope somebody can give up a tip to solve this issue.
Thank you!
Rajesh Ranjan.

Accepted Solutions (1)

Accepted Solutions (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Hi Rajesh,

I hope you're already using the right software versions to upgrade your SAP Spartacus 4.3.7 storefront.

Could you try temporarily disable strict SSL checking by running the following command:

npm config set strict-ssl false
rajeshanexpert
Discoverer
0 Kudos

Thank you Samuel Yang. It worked for me.

Answers (0)