on 04-19-2021 7:18 AM
Hello Team,
I am facing issue in SAP Web ide , build is getting failed, it shows below error in console.
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://npm.sap.com/@sap/di.code-validation.js/-/di.code-validation.js-1.1.6.tgz failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in:
npm ERR! /mnt/npm_cache/_logs/2021-04-19T04_13_12_853Z-debug.log
9:43:15 AM (DIBuild)
UI5 Build failed.
.
[INFO] Build finished in 39 seconds Kindly provide your assistance.Best RegardsDeepa Kalyani
This is because npm expired registry has expired/moved, and it's now replace it with NPM Registry.
npm config list -> locate the .npmrc file -> open the file using notepad -> change the path
from @sap:registry = "https://npm.sap.com" to @sap:registry=https://registry.npmjs.org/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
9 | |
6 | |
6 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.