'Component Generation failure!' Error Is Coming on Generating UI Component Artifacts In Patchset - 20.1.0.3.1
(Doc ID 2766771.1)
Last updated on JANUARY 11, 2023
Applies to:
Oracle Banking Digital Experience - Version 20.1.0.0.0 to 20.1.0.0.0 [Release 20]Information in this document applies to any platform.
Symptoms
When attempting to create component artifacts for metadata generated by UI Workbench on executing ./generate-artifacts.sh command,
the following error occurs.
ERROR
-----------------------
Error encountered
File Name :
../channel/metadata/user-components/letter-of-credit/track-letter-of-credit/track-letter-of-credit.json
Reason : Hooks Generation Failed -- track-letter-of-credit
---------------------------------------------------------------
(node:31720) UnhandledPromiseRejectionWarning: Hooks Generation Failed -- track-letter-of-credit
(Use 'node --trace-warnings ...' to show where the warning was created)
(node:31720) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
To terminate the node process on unhandled promise rejection, use the CLI flag '--unhandled-rejections=strict' (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:31720) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
---------------------------------------------------------------
Same is coming in the below files as well.
File Name :
../channel/metadata/user-components/invoice-management/invoices-creation-status/invoices-creation-status.json
File Name :
../channel/metadata/user-components/supply-chain-finance/edit-purchase-order/edit-purchase-order.json
File Name :
../channel/metadata/user-components/supply-chain-finance/request-finance/request-finance.json
File Name :
../channel/metadata/flows/set-repeat-transfer/set-repeat-transfer.json
-
-
-
Error encountered Some Components generation failed
Component Generation failure!
STEPS
-----------------------
The issue can be reproduced at will by running the following commands inside com.ofss.digx.utils.uiworkbench directory.
1. npm install.
2. npm link ../obdx-ui-workbench-core.
3. Remove npm install @obdx/uiworkbench-corein generate-artifacts.sh which is present under com.ofss.digx.utils.uiworkbench.
4. Execute ./generate-artifacts.sh.
Note - The above simulation steps can also be referred from User Interface Guide Release 20.1.0.0.0 - Point 3 (User Interface Build) -
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |