cancel
Showing results for 
Search instead for 
Did you mean: 

Neo SAP Fiori Library build error

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

amylv
Explorer
0 Kudos

Hi rinn,

Try to follow SAP KBA
3085609 SAP Web IDE Build Fails: No matching version found for @ui5/cli@ ...
to update @ui5/cli version to latest one then follow KBA
2650996 - Grunt Build in SAP Web IDE fails
This helped me out for similar error.

Regards,
Amy

0 Kudos

Hi Amy,

Sorry for my late reply.

I arrived here and was able to solve it.

Thank you for your answer.

Regards,

Rinn

Answers (0)