Closed GhoshWorld closed 2 years ago
This is an error for the plugin's maintainers part.
This means the plugin is using requireCordovaModule
to import dependencies that cordova has declared, when it should declare/install the dependencies itself and use the normal require()
api to import the dependency. This has been enforced as of Cordova CLI 9.x if I recall correctly.
I'd suggest ensuring that your plugins are up-to-date. (Use cordova plugin remove <pluginName>
/ cordova plugin add <pluginName>@latest
). If the issue persists, you may need to report the issue to the plugin's maintainer, or fork the plugin to address the issue yourself. https://github.com/apache/cordova-lib/issues/689 can be referenced for context.
Closing as not-a-bug.
Bug Report
Problem
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.
Version information