harivenkatesh-id opened a new issue #1093:
URL: https://github.com/apache/cordova-android/issues/1093


   sudo ionic cordova build android gives error
   
   Using "requireCordovaModule" to load non-cordova module "q" is not 
supported. Instead, add this module to your dependencies and use regular 
"require" to load it.
   
   When android build done with cordova version 8.1.2, build generated 
successfully.
   After updating cordova version to 9 or 10, throws error
   
   **Using "requireCordovaModule" to load non-cordova module "q" is not 
supported. Instead, add this module to your dependencies and use regular 
"require" to load it.**
   
   
   
   
   ### Command or Code
   sudo ionic cordova build android / sudo ionic cordova prepare android
   
   
   
   ### Environment, Platform, Device
   Cordova version 10, Cordova-android 9
   
   
   
   ### Version information
   
   Cordova: Cordova10, Cordova Platforms - android and ios, Cordova Plugins
   Other Frameworks: Ionic Framework and CLI version - ionic4
   Operating System, Android Studio
   
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to