SAP / ui5-tooling

An open and modular toolchain to develop state of the art applications based on the UI5 framework
https://sap.github.io/ui5-tooling
Apache License 2.0
465 stars 69 forks source link

Failed to run ui5 build self-contained with SAPUI5 libs #208

Closed diegodossantos95 closed 4 years ago

diegodossantos95 commented 4 years ago

Hi all, Could you confirm if the self-contained build is compatible with SAPUI5 libs from a repository other than npm? I am asking that because my project is using the SAPUI5 libs from CDN and when I run the build self-contained I see a series of errors like: missing module sap/m/MessageBox.js, required by com/sap/my/module/myfile.js I don't know if I am missing a configuration, but the documentation doesn't request any config other than ui5.yaml.

Context

Affected components (if known)

vobu commented 4 years ago

Hi, CDN and build-tooling don't go together - you need the UI5 libs installed for ui5 build to work. Additionally, ui5 build is (currently) limited to OpenUI5 and not SAPUI5. hth, v.

RandomByte commented 4 years ago

The UI5 Tooling is only capable of bundling resources coming from the internal translators, typically the npm translator.

You should wait for the SAPUI5 libraries to be available as npm packages: https://github.com/SAP/ui5-tooling/issues/130