Hot to fix “requireCordovaModule” error

Last Updated On January 14, 2020
You are here:
  • KB Home
  • Hot to fix "requireCordovaModule" error

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

Leave a Reply

Your email address will not be published. Required fields are marked *