@joabchua wrote:
Hi all,
I am facing this error while trying to run ionic cordova prepare ios and run ios.
Error msg is as shown below.
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. CordovaError: 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. at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15) at exports.default (/Users/joabchua/Documents/dev/ionic/passguard-v3/plugins/cordova-plugin-add-swift-support/add-swift-support.js:12755:22) at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32) at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20 at processTicksAndRejections (internal/process/next_tick.js:81:5) [ERROR] An error occurred while running subprocess cordova.
Anyone face this issue before? Appreciate if there is any help.
Posts: 1
Participants: 1