Closed ShashankPincha closed 3 years ago
Upon checking out: https://sap.github.io/ui5-tooling/pages/Configuration/#specification-versions
Version | UI5 CLI Release |
---|---|
0.1 | v0.0.1+ |
1.0 | v1.0.0+ |
1.1 | v1.13.0+ |
My UI5.yaml
has:
specVersion: '1.0'
metadata:
name: "Test"
type: library
So not sure why ui5-cli is taking '1.1' as seen in the error.
I've created a Issue for this in ui5-builder also, https://github.com/SAP/ui5-builder/issues/421
Unsupported specification version 1.1 defined for project @openui5/sap.ui.core
This means that the specVersion
property defined in the ui5.yaml of the sap.ui.core
project was upgraded to 1.1
.
Since version 1.75.0, all OpenUI5 projects use specification version 1.1 in order to use the new theme-library
type.
In your package.json, please update your UI5 CLI version to 1.13.0 or higher in order to use OpenUI5 libraries in versions 1.75.0 and above.
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.
@RandomByte Sorry about the erratic comment deletions 😅
I didn't read your comment correctly, I've updated the package.json
version as you recommended, it's working fine.
Appreciate your help. Not sure how it works, but if you can advice the webIDE team to update the template's package.json so others don't face this, that'll be great.
Good day.
but if you can advice the webIDE team to update the template's package.json so others don't face this, that'll be great
Already done, they are working on it 👍
Expected 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
Context
1.5.3
1.74
webIDE Latest
webIDE Latest
webIDE
Chrome
Affected components (if known)
Main Error:
Log Output / Stack Trace