Errors of "Cannot find module" Seen When Calling Mobile API Gateway
Article ID: 96527
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 after 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.