Build of Fiori Library Fails (Out of box template instance) - webIDE
See original GitHub issueExpected Behavior
Build of a UI5 Application created using Fiori Library Template (w/ Sample Data) in webIDE should build without errors.
Current Behavior
Build failing for out of Template Fiori Library App.
Steps to reproduce the issue
- Create UI5 App using Fiori Library Template (w/ Sample Data) in webIDE
- Build
- Error
Context
- UI5 CLI Version:
1.5.3
- Fiori Template UI5 Version:
1.74
- Node.js Version:
webIDE Latest
- npm Version:
webIDE Latest
- OS/Platform:
webIDE
- Browser (if relevant):
Chrome
Affected components (if known)
Main Error:
> Test@1.0.0 build /tmp/webide.ZmR.build/proj> ui5 build --include-task=generateManifestBundle generateCachebusterInfo
1:08:12 PM (DIBuild) Error: Unsupported specification version 1.1 defined for project @openui5/sap.ui.core. See https://github.com/SAP/ui5-project/blob/master/docs/Configuration.md#specification-versions at ProjectPreprocessor.isConfigValid (/tmp/webide.ZmR.build/proj/node_modules/@ui5/cli/node_modules/@ui5/project/lib/projectPreprocessor.js:271:10) at Promise.all.projectsToProcess.map (/tmp/webide.ZmR.build/proj/node_modules/@ui5/cli/node_modules/@ui5/project/lib/projectPreprocessor.js:79:14) at <anonymous>
Log Output / Stack Trace
1:07:00 PM (Build) Build started.
1:07:03 PM (DIBuild) Build of "/Test" in progress.
1:07:03 PM (DIBuild) [INFO] Retrieving source code[INFO] Preparing node environment
1:07:05 PM (DIBuild) [INFO] Node environment ready
1:07:09 PM (DIBuild) [INFO] Installing node dependencies
1:07:11 PM (DIBuild) npm WARN deprecated coffee-script@1.10.0: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
1:07:14 PM (DIBuild) npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
1:07:20 PM (DIBuild) npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
1:07:35 PM (DIBuild) npm WARN notice [SECURITY] mixin-deep has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=mixin-deep&version=1.3.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.npm WARN notice [SECURITY] lodash.merge has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=lodash.merge&version=4.6.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
1:07:37 PM (DIBuild) npm WARN notice [SECURITY] marked has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=marked&version=0.6.2 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
1:07:59 PM (DIBuild) > core-js@2.6.9 postinstall /tmp/webide.ZmR.build/proj/node_modules/@ui5/cli/node_modules/core-js> node scripts/postinstall || echo "ignore"
1:08:01 PM (DIBuild) Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
1:08:03 PM (DIBuild) npm notice created a lockfile as package-lock.json. You should commit this file.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/@ui5/cli/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})added 1189 packages from 983 contributors in 52.767s[INFO] Installing node dependencies operation succeeded[INFO] Set grunt
1:08:05 PM (DIBuild) > Test@1.0.0 clean /tmp/webide.ZmR.build/proj> rm -rf dist
1:08:07 PM (DIBuild) basevalidator attribute for xml in the project.json file is: fioriXmlAnalysisbasevalidator attribute for js in the project.json file is: fioriJsValidator
1:08:10 PM (DIBuild) > Test@1.0.0 build-for-deploy /tmp/webide.ZmR.build/proj> npm run build && npm run flatten && npm run clean-after-flatten> Test@1.0.0 build /tmp/webide.ZmR.build/proj> ui5 build --include-task=generateManifestBundle generateCachebusterInfo
1:08:12 PM (DIBuild) Error: Unsupported specification version 1.1 defined for project @openui5/sap.ui.core. See https://github.com/SAP/ui5-project/blob/master/docs/Configuration.md#specification-versions at ProjectPreprocessor.isConfigValid (/tmp/webide.ZmR.build/proj/node_modules/@ui5/cli/node_modules/@ui5/project/lib/projectPreprocessor.js:271:10) at Promise.all.projectsToProcess.map (/tmp/webide.ZmR.build/proj/node_modules/@ui5/cli/node_modules/@ui5/project/lib/projectPreprocessor.js:79:14) at <anonymous>npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! Test@1.0.0 build: `ui5 build --include-task=generateManifestBundle generateCachebusterInfo `npm ERR! Exit status 1npm ERR! npm ERR! Failed at the Test@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/2020-02-26T09_08_11_065Z-debug.lognpm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! Test@1.0.0 build-for-deploy: `npm run build && npm run flatten && npm run clean-after-flatten`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the Test@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/2020-02-26T09_08_11_123Z-debug.log
1:08:14 PM (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.[INFO] Build finished in 71 seconds
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Build of Fiori Library Fails (Out of box template instance ...
Expected Behavior Build of a UI5 Application created using Fiori Library Template (w/ Sample Data) in webIDE should build without errors.
Read more >Migrating SAP Fiori Applications from SAP Web IDE to SAP ...
In this blog post, I will guide you through migrating an SAP Fiori application from SAP Web IDE to SAP Business Application Studio....
Read more >Manage Product Master - SAP Fiori Apps Reference Library
You can use this app to search, display, edit, create, and copy master data for products and single articles (of article category 00),...
Read more >Connect SAP WebIDE to gateway OData - YouTube
Connect SAP WebIDE to gateway Odata | Fiori App using Gateway Service | Create Destination in WebIDECOURSE PAGE: ...
Read more >How to Implement an SAP Fiori App in S/4HANA - Createch
In transaction SICF, go to the external alias that refers to the ICF node /sap/bc/ui2/flp: · Navigate to Error Page -> Logon Errors...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Already done, they are working on it 👍
Change
"@ui5/cli": "1.5.3",
to"@ui5/cli": "1.14.0",
. Then right click on your project, “build” -> “Clean npm Folder”. Then try building your project again.