Skip to Content
0
Nov 05, 2021 at 02:54 AM

Neo SAP Fiori Library build error

148 Views

Dear Experts,

From the other day, I'm having trouble getting build errors with just the library ...

Tried:

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.

Console:

Error Message:Unsupported specification version 2.0 defined for project @openui5/sap.ui.core.
Your UI5 CLI installation might be outdated.
For details see https://sap.github.io/ui5-tooling/pages/Configuration/#specification-versionsFor details,
execute the same command again with an additional '--verbose' parameternpm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! library@1.0.0 build: `ui5 build --include-task=generateManifestBundle generateCachebusterInfo `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the library@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /mnt/npm_cache/_logs/2021-11-05T02_38_40_935Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! library@1.0.0 build-for-deploy: `npm run build && npm run flatten && npm run clean-after-flatten`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the library@1.0.0 build-for-deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /mnt/npm_cache/_logs/2021-11-05T02_38_41_006Z-debug.log
11:38:44 (DIBuild) 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.


I checked the console and found the debug.log file. I would appreciate it if you could tell me how to check this file.

/mnt/npm_cache/_logs/2021-11-05T02_38_40_935Z-debug.log

Regards,

rinn.