cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Web IDE npm ERR! code CERT_HAS_EXPIRED Error

merveguel
Participant
0 Likes
708

Hello all,

We are getting error during project build in Web IDE. We are aware that there are multiple posts regarding this error, however suggested solutions didnt work so far.. The last build of this project was on 10th of May. Nothing has been changed in the project since then. Does anyone guide us on how to access /mnt/npm/cache/_logs/ folder?

We appreciate for any suggestion!

Error message from Console:

08:28:07 (DIBuild) npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://npm.sap.com/@sap/grunt-sapui5-bestpractice-build/-/grunt-sapui5-bestpractice-build-1.3.60.tg... failed, reason: certificate has expired

npm ERR! A complete log of this run can be found in:
npm ERR! /mnt/npm_cache/_logs/2023-05-26T06_26_37_027Z-debug-0.log

Build failed.
Please follow the relevant troubleshooting tips below:
ERROR: "Unable to find local grunt"
- Right-click the project folder, select "Clean npm Folder", and build again.
ERROR: "npm ERR! code EINTERGITY"
- Delete the "package-lock.json" file from the project and build again.
[INFO] Build finished in 104 seconds


Gruntfile.js

module.exports = function (grunt) { "use strict";

grunt.loadNpmTasks("@sap/grunt-sapui5-bestpractice-build");

grunt.registerTask("default", [

"clean",

"lint",

"build" ]);

grunt.loadNpmTasks("@sap/grunt-sapui5-bestpractice-test"); grunt.registerTask("unit_and_integration_tests", ["test"]);

grunt.config.merge({

coverage_threshold: {

statements: 0,

branches: 100,

functions: 0,

lines: 0

}

} );

} ;

Accepted Solutions (0)

Answers (0)