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 2020/10/16 12:35:54 UTC

[GitHub] [cordova-android] breautek commented on issue #1093: cordova android build throws error

breautek commented on issue #1093:
URL: https://github.com/apache/cordova-android/issues/1093#issuecomment-710018602


   Not a bug.
   
   This is caused by a plugin that is attempting to use cordova's inner working code to import packages that cordova declares. This is something we used to allow in cordova8 but stopped allowing in cordova9. Plugins should add dependencies themselves and use the node native `require` to use them.
   
   To fix this  you first have to find the culprit plugin that is using `requireCordovaModule` and update it. In this case you'll be looking for a plugin that is using `requireCordovaModule("q")`


----------------------------------------------------------------
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.

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