Preload building of Fiori element-based apps produce verbose log content
See original GitHub issueExpected Behavior
Build is successful without error logging.
Current Behavior
Build is logging a verbose error when analyzing the dependencies of apps using modules from Smart Templates / Fiori elements.
Steps to reproduce the issue
- Create a Fiori elements based app in SAP Web IDE
- Run the build in SAP Web IDE or the ui5 build directly
Context
- UI5 Module Version (output of
ui5 --version
when using the CLI):latest
- Node.js Version:
independent
- npm Version:
independent
- OS/Platform:
independent
Affected components (if known)
Log Output / Stack Trace
Running task generateComponentPreload...
ERR! lbt:analyzer:SmartTemplateAnalyzer Error: resource not found in pool: 'sap/suite/ui/generic/template/ListReport/Component.js'
ERR! lbt:analyzer:SmartTemplateAnalyzer at LocatorResourcePool.findResource (/tmp/webide.668.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Preload building of Fiori element-based apps produce ...
Build is logging a verbose error when analyzing the dependencies of apps using modules from Smart Templates / Fiori elements.
Read more >How to build Component-preload.js for Fiori like custom apps
Step 8: Execute the gulpcmd.bat file by double clicking or open the command prompt at WeConetent folder. This script should work in a...
Read more >Component-preload for Fiori Elements Apps - SAP Community
Hi guys,. I noticed that Fiori Elements apps developed with Full-Stack Web IDE do not generate a Component-preload.js file to pack the whole ......
Read more >Create an SAP Fiori Elements-Based Analytical UI for your ...
This tutorial shows you how to create an analytical page using SAP Fiori elements app on top of your previously created CAP application....
Read more >10 Interesting hacks for UI5 apps using Fiori Elements (Object ...
This is relevant to transnational apps. In list report some of the records could be editable while others are not (say based on...
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
Hi @ShashankPincha , it is not a critical issue, just a logging that the SmartTemplate (Fiori elements) stuff is missing as a dependency and thus the builder logs this as missing modules. We are working right now to release the SAPUI5 dependencies on npmjs.com which will happen hopefully soon. The solution is in the pipeline… 😃
Reopening this issue based on new input. The error message reported here is not expected when generating a Component Preload.
@codeworrior and I already figured out a potential solution, PR will follow