Open MoritzSchleySAP opened 10 months ago
The 404 errors are related to the UI5 dev server using the not-built UI5 sources by default. The manifest.json files are only created when building the UI5 runtime (which is then distributed to the places from where it is normally used) - or when in this project doing npm run build:opt
, which in turn does a ui5 build --all
(this also builds UI5 itself). It's also mentioned during that build in the console:
info sap.m › Running task generateLibraryManifest...
So even though it indeed looks irritating, it is at least not an issue of this template, but generally happening with the UI5 dev server.
Also performance-wise, while there probably is some impact, this impact is way smaller than the impact of using the non-built UI5 sources (not minified, many single requests, no preloads).
All of this is gone once using a real (built) UI5 version, e.g. after the mentioned "opt" build, or also when using index-cdn.html
instead of index.html
, because this one does not use the local UI5 sources, but the Akamai content delivery network. (That' faster anyway than using the UI5 sources.)
Not sure about which of the other messages are actually warnings... seems like the initialization order is not as expected by the App control.
Using the latest version of the generator results in some warnings and errors in the console.
The 404 errors should probably be addressed, as they can have an impact on performance (isn't manifest.json essential for ui5 projects? Why does the app work even with the 404 error here). Furthermore there seems to be something wrong with the initial routing (Page stack is empty, navigation skipped). The messages come up multiple times during the loading process. Any ideas?