My Oracle Support Banner

"TypeError : Cannot assign to read only property 'exports' of object" Is Observed When Trying to Generate Artifacts During UI Build (Doc ID 2736124.1)

Last updated on DECEMBER 14, 2020

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 build the UI,
the following error occurs.

ERROR
-----------------------
TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
   at Module.<anonymous> (/installables/ui/obdx-ui-workbench-core/dist/uiworkbench-core.js:1:138131)
   at Module.<anonymous> (/installables/ui/obdx-ui-workbench-core/dist/uiworkbench-core.js:1:139634)
   at n (/installables/ui/obdx-ui-workbench-core/dist/uiworkbench-core.js:1:124)
   at /installables/ui/obdx-ui-workbench-core/dist/uiworkbench-core.js:1:51645
   at Object.get [as FlowConfigGenerator] (/installables/ui/obdx-ui-workbench-core/dist/uiworkbench-core.js:1:51966)
   at Object.<anonymous> (/installables/ui/com.ofss.digx.utils.uiworkbench/src/generate-files.js:1:25)
   at Module._compile (internal/modules/cjs/loader.js:1137:30)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
   at Module.load (internal/modules/cjs/loader.js:985:32)
   at Function.Module._load (internal/modules/cjs/loader.js:878:14)
Component Generation failure!

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Refer User Interface Guide
2. Run ./build.sh.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.