Last Updated On February 08, 2020
If you have this error “Using “requireCordovaModule” to load non-cordova module “glob” is not supported. Instead, add this module to your dependencies and use regular “require” to load it” when running ng serve or when you try to build/run iOS or Android app you need to check if a wrong version of Cordova is installed. Run:
npm list -g --depth=0;
If it is present: cordova@9.0.0 or higher, please run the following commands:
npm -g uninstall cordova
npm -g install cordova@8.1.2
not yet received the solution on this issue for android.
This error is not related to iOS or Android but on Cordova. Did you follow those steps?