Last Updated On January 14, 2020
If you have this error:
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 you try to add iOS or android please be sure you install the right Cordova version:
npm install -g cordova@8.1.2