Errors of "Cannot find module" Seen When Calling Mobile API Gateway
Document ID :
Last Modified Date :
Show Technical Document Details
CA API Gateway
I am making a call in an application via Ionic to the CA Mobile API Gateway ("MAG") and receive an error beginning with "
Cannot find module
For example: "
Cannot find module /PopupUI
Users of the CA Mobile API Gateway
This is typically caused when calls are made before all of the application/mobile components are loaded.
It is important to ensure calls are being made
all components are load/operational.
Once the components are all loaded in the application and MAG, the calls should succeed without the "Cannot find module" errors.
Was this information helpful?