-
Notifications
You must be signed in to change notification settings - Fork 73
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
"Cannot read property 'map' of undefined" from @ui5\builder\lib\processors\versionInfoGenerator.js #486
Comments
Fix in SAP/ui5-builder#576 |
Happens when the Indeed needs to be fixed.
[Update] ...or wait for us to review and merge your PR - sorry, my initial reply overlapped with your PR creation :-( |
Hi @codeworrior , |
Mhmm, for the |
Thanks for reporting and creating the Pull Request! Your fix has been released with @ui5/cli v2.9.1. |
During a build we get the error "Cannot read property 'map' of undefined" and the build stops
Expected Behavior
Build finished through all tasks
Current Behavior
Build stops during task generateVersionInfo
Steps to Reproduce the Issue
Build of Fiori Elements application with dependencies
Context
ui5 --version
when using the CLI): 2.9.0Log Output / Stack Trace
info builder:builder application flatconfig 🔨 (10/15) Running task generateVersionInfo...
ERR! builder:builder Build failed in 4.01 s
info builder:builder Executing cleanup tasks...
Error Message:
Cannot read property 'map' of undefined
Stack Trace:
TypeError: Cannot read property 'map' of undefined
at processLibraryInfo (C:\neo-schedule\schedule-config\flatconfig\node_modules@ui5\cli\node_modules@ui5\builder\lib\processors\versionInfoGenerator.js:306:31)
at async Promise.all (index 0)
at async module.exports (C:\neo-schedule\schedule-config\flatconfig\node_modules@ui5\cli\node_modules@ui5\builder\lib\processors\versionInfoGenerator.js:394:22)
at async Object.module.exports [as task] (C:\neo-schedule\schedule-config\flatconfig\node_modules@ui5\cli\node_modules@ui5\builder\lib\tasks\generateVersionInfo.js:41:32)
at async Object.build (C:\neo-schedule\schedule-config\flatconfig\node_modules@ui5\cli\node_modules@ui5\builder\lib\builder\builder.js:395:4)
at async Object.handleBuild [as handler] (C:\neo-schedule\schedule-config\flatconfig\node_modules@ui5\cli\lib\cli\commands\build.js:101:2)
The text was updated successfully, but these errors were encountered: