Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error in webIDE - Error: resource not found in pool: 'sap/suite/ui/generic/template/ListReport/Component.js' #286

Closed
2 of 6 tasks
ShashankPincha opened this issue Feb 1, 2020 · 1 comment
Labels
module/ui5-cli Related to the UI5 CLI module

Comments

@ShashankPincha
Copy link

Expected Behavior

Build without Errors / Warnings
UI5 ver: 1.65.13

Current Behavior

8:26:37 AM (DIBuild)
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.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeTemplateComponent (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:107:37)
ERR! lbt:analyzer:SmartTemplateAnalyzer at recursePage (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:89:25)
ERR! lbt:analyzer:SmartTemplateAnalyzer at Array.forEach ()
ERR! lbt:analyzer:SmartTemplateAnalyzer at recurse (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:97:30)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeManifest (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:100:3)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer.analyze (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:60:16)
ERR! lbt:analyzer:SmartTemplateAnalyzer at
ERR! lbt:analyzer:SmartTemplateAnalyzer at runMicrotasksCallback (internal/process/next_tick.js:121:5)
ERR! lbt:analyzer:SmartTemplateAnalyzer at _combinedTickCallback (internal/process/next_tick.js:131:7)
ERR! lbt:analyzer:SmartTemplateAnalyzer an error occurred while analyzing template app %s (ignored) Test/test/Component.js { Error: resource not found in pool: 'sap/suite/ui/generic/template/ListReport/Component.js'
ERR! lbt:analyzer:SmartTemplateAnalyzer at LocatorResourcePool.findResource (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeTemplateComponent (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:107:37)
ERR! lbt:analyzer:SmartTemplateAnalyzer at recursePage (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:89:25)
ERR! lbt:analyzer:SmartTemplateAnalyzer at Array.forEach ()
ERR! lbt:analyzer:SmartTemplateAnalyzer at recurse (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:97:30)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeManifest (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:100:3)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer.analyze (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:60:16)
ERR! lbt:analyzer:SmartTemplateAnalyzer at
ERR! lbt:analyzer:SmartTemplateAnalyzer at runMicrotasksCallback (internal/process/next_tick.js:121:5)
ERR! lbt:analyzer:SmartTemplateAnalyzer at _combinedTickCallback (internal/process/next_tick.js:131:7)
ERR! lbt:analyzer:SmartTemplateAnalyzer stack: 'Error: resource not found in pool: 'sap/suite/ui/generic/template/ListReport/Component.js'\n at LocatorResourcePool.findResource (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)\n at TemplateComponentAnalyzer._analyzeTemplateComponent (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:107:37)\n at recursePage (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:89:25)\n at Array.forEach ()\n at recurse (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:97:30)\n at TemplateComponentAnalyzer._analyzeManifest (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:100:3)\n at TemplateComponentAnalyzer.analyze (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:60:16)\n at \n at runMicrotasksCallback (internal/process/next_tick.js:121:5)\n at _combinedTickCallback (internal/process/next_tick.js:131:7)' }

Steps to reproduce the issue

  1. Create new project from List Report Template
  2. Using any valid backend service / metadata file
  3. Build

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 1.65.13
  • Node.js Version: webIDE Default
  • npm Version: webIDE Default
  • OS/Platform: webIDE Default
  • Browser (if relevant): Chrome
  • Other information: {...}

Affected components (if known)

Log Output / Stack Trace

8:26:37 AM (DIBuild)

[email protected] build /tmp/webide.O6L.build/proj
ui5 build --include-task=generateManifestBundle generateCachebusterInfo
8:26:39 AM (DIBuild) info builder:builder Building project test not including dependencies...
info builder:builder 🛠 (1/1) Building project test
info builder:builder application test 🔨 (1/14) Running task escapeNonAsciiCharacters...
info builder:builder application test 🔨 (2/14) Running task replaceCopyright...
info builder:builder application test 🔨 (3/14) Running task replaceVersion...
info builder:builder application test 🔨 (4/14) Running task generateFlexChangesBundle...
info builder:processors:bundlers:flexChangesBundler Changes collected. Number of changes: 0
info builder:builder application test 🔨 (5/14) Running task generateManifestBundle...
info builder:builder application test 🔨 (6/14) 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.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeTemplateComponent (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:107:37)
ERR! lbt:analyzer:SmartTemplateAnalyzer at recursePage (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:89:25)
ERR! lbt:analyzer:SmartTemplateAnalyzer at Array.forEach ()
ERR! lbt:analyzer:SmartTemplateAnalyzer at recurse (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:97:30)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeManifest (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:100:3)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer.analyze (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:60:16)
ERR! lbt:analyzer:SmartTemplateAnalyzer at
ERR! lbt:analyzer:SmartTemplateAnalyzer at runMicrotasksCallback (internal/process/next_tick.js:121:5)
ERR! lbt:analyzer:SmartTemplateAnalyzer at _combinedTickCallback (internal/process/next_tick.js:131:7)
ERR! lbt:analyzer:SmartTemplateAnalyzer an error occurred while analyzing template app %s (ignored) Test/test/Component.js { Error: resource not found in pool: 'sap/suite/ui/generic/template/ListReport/Component.js'
ERR! lbt:analyzer:SmartTemplateAnalyzer at LocatorResourcePool.findResource (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeTemplateComponent (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:107:37)
ERR! lbt:analyzer:SmartTemplateAnalyzer at recursePage (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:89:25)
ERR! lbt:analyzer:SmartTemplateAnalyzer at Array.forEach ()
ERR! lbt:analyzer:SmartTemplateAnalyzer at recurse (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:97:30)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer._analyzeManifest (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:100:3)
ERR! lbt:analyzer:SmartTemplateAnalyzer at TemplateComponentAnalyzer.analyze (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:60:16)
ERR! lbt:analyzer:SmartTemplateAnalyzer at
ERR! lbt:analyzer:SmartTemplateAnalyzer at runMicrotasksCallback (internal/process/next_tick.js:121:5)
ERR! lbt:analyzer:SmartTemplateAnalyzer at _combinedTickCallback (internal/process/next_tick.js:131:7)
ERR! lbt:analyzer:SmartTemplateAnalyzer stack: 'Error: resource not found in pool: 'sap/suite/ui/generic/template/ListReport/Component.js'\n at LocatorResourcePool.findResource (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/resources/ResourcePool.js:177:10)\n at TemplateComponentAnalyzer._analyzeTemplateComponent (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:107:37)\n at recursePage (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:89:25)\n at Array.forEach ()\n at recurse (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:97:30)\n at TemplateComponentAnalyzer._analyzeManifest (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:100:3)\n at TemplateComponentAnalyzer.analyze (/tmp/webide.O6L.build/proj/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/lbt/analyzer/SmartTemplateAnalyzer.js:60:16)\n at \n at runMicrotasksCallback (internal/process/next_tick.js:121:5)\n at _combinedTickCallback (internal/process/next_tick.js:131:7)' }
info builder:builder application test 🔨 (7/14) Running task createDebugFiles...
info builder:builder application test 🔨 (8/14) Running task uglify...
info builder:builder application test 🔨 (9/14) Running task generateVersionInfo...
info builder:builder application test 🔨 (10/14) Running task webide-extension-task-updateNeoApp...
info builder:builder application test 🔨 (11/14) Running task webide-extension-task-updateManifestJson...
info builder:builder application test 🔨 (12/14) Running task webide-extension-task-lint...basevalidator attribute for js in the project.json file is: fioriJsValidator
8:26:41 AM (DIBuild) basevalidator attribute for xml in the project.json file is: fioriXmlAnalysis
info builder:builder application test 🔨 (13/14) Running task webide-extension-task-resources...
info builder:builder application test 🔨 (14/14) Running task generateCachebusterInfo...
info builder:builder Build succeeded in 2.24 sinfo builder:builder Executing cleanup tasks...[INFO] Processing results
8:26:44 AM (DIBuild) [INFO] Copying build results to the project folder[INFO] UI5 build finished[INFO] Build finished in 54 seconds
8:26:44 AM (DIBuild) ********** End of /Test Build Log **********
8:26:45 AM (Build) Build completed successfully.

@petermuessig
Copy link

Thanks for reporting and finding the duplicate. 👍

@RandomByte RandomByte transferred this issue from SAP/ui5-cli Nov 19, 2020
@RandomByte RandomByte added the module/ui5-cli Related to the UI5 CLI module label Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/ui5-cli Related to the UI5 CLI module
Projects
None yet
Development

No branches or pull requests

3 participants