question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preload building of Fiori element-based apps produce verbose log content

See original GitHub issue

Expected 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

  1. Create a Fiori elements based app in SAP Web IDE
  2. 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:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
petermuessigcommented, Feb 1, 2020

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… 😃

0reactions
RandomBytecommented, Jul 15, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found