My Oracle Support Banner

Android Build Fails With Error "Cannot find module .../channel/_build/component.js" In Patchset 18.1.2.0.0 (Doc ID 2658527.1)

Last updated on APRIL 14, 2020

Applies to:

Oracle Banking Digital Experience - Version 18.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms


When attempting to build UI for android mobile, following error is received on console:


ERROR
-----------------------
Error: Cannot find module .../channel/_build/component.js


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. to channel/build folder from terminal.
2. Run the command grunt --max_old_space_size=5120 androidbuild --platform=android && node component.js && node integrity-generator.js && node listComponents.js


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, there is no impact on user. But this error creates confusion providing impression that UI build has failed

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
References


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