You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/02/24 14:25:59 UTC

[GitHub] [cordova-ios] breautek commented on issue #1224: 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.

breautek commented on issue #1224:
URL: https://github.com/apache/cordova-ios/issues/1224#issuecomment-1049912906


   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org