cancel
Showing results for 
Search instead for 
Did you mean: 

@sap/generator-fiori install Certificate Error

Chantele
Active Participant
0 Kudos

Hi

I'm trying to install @sap/generator-fiori on my corporate laptop, but i'm getting a certificate expired error.

npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://npm.sap.com/@sap%2fgenerator-fiori failed, reason: certificate has expired

npm ERR! A complete log of this run can be found in:

Anyone know why this is happening? @iwona.hahn hope you don't mind me tagging you in this, as i was following your tutorial.

former_member197689
Active Participant
0 Kudos

This error not related to @sap/generator-fiori.

Please take a look here.

https://stackoverflow.com/questions/72338682/npm-install-gives-cert-has-expired-error-for-sap-cloud-...

Accepted Solutions (0)

Answers (2)

Answers (2)

detobin
Advisor
Advisor
0 Kudos

The SAP specific repository npm.sap.com has been removed for near three years now.

All its previous contents are available on the public repository instead.

As Ashey has indicated please use the public repository http://registry.npmjs.org/ (or an accessible mirror of the same).

Use the command line `npm config list` to see what repository (or repositories if you have specific namespace differences).

If you have for example and entry for the `@sap` registry then you can just remove it.

The main registry is expected to be `https://registry.npmjs.org/`.

See https://blogs.sap.com/2020/07/02/sap-npm-packages-now-on-npmjs.org/ for more extensive information.

tashley
Product and Topic Expert
Product and Topic Expert
0 Kudos