-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using "requireCordovaModule" to load non-cordova module "q" is not supported #109
Comments
I have the same issue. Is there a solution for this? |
I found a solution for this, you have to change de "requireCordovaModule" method in script/100-prepare-admob-angular.js, there is 2 places to change, on line 7 and 61: |
i tried antalag method by editing script/100-prepare-admob-angular.js with Visual Studio Code. But still getting same err. cordova 9, android 8 |
facing the same issue with cordova 9 |
Same here. I resolved mine by downgrading cordova from version 9.0.0 to 8.1.2. Hope this helps. |
the same issue.
|
I am also seeing this issue. Did anyone find a solution without modifying the core code? |
Having this issue as well. Would be nice if dev could respond considering they're taking a portion of the ad revenue |
Search for string requireCordovaModule inside cordova-admob and cordova-play-services-version-adapter inside plugins folder. And replace ctx.requireCordovaModule('q').defer() or new context.requireCordovaModule('q').defer() with simply require('q').defer(); |
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. cordova 9
The text was updated successfully, but these errors were encountered: