Error installing cordova-admob - requireCordovaModule

Hi, when in a base project I try to install cordova-admob on an android platform I get the following error:

D:\prueba>ionic cordova plugin add cordova-admob

cordova.cmd plugin add cordova-admob
Installing “cordova-admob” for android
Installing “cordova-connectivity-monitor” for android
Installing “cordova-play-services-version-adapter” for android
Subproject Path: CordovaLib
Subproject Path: app
Adding cordova-admob to package.json
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.
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd plugin add cordova-admob exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

The commands executed have been:

ionic start prueba tabs
ionic cordova platform add android
ionic cordova plugin add cordova-admob

… and at this point it has given the indicated error.

My ionic data:

ionic info

Ionic:

Ionic CLI : 5.4.15 (C:\Users\juanc\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 5.5.5
@angular-devkit/build-angular : 0.1101.4
@angular-devkit/schematics : 11.1.4
@angular/cli : 11.1.4
@ionic/angular-toolkit : 3.1.0

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : none
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 7 other plugins)

Utility:

cordova-res : 0.15.2
native-run : 0.2.4

System:

Android SDK Tools : 26.1.1 (D:\AndroidSDK)
NodeJS : v12.18.4 (C:\Program Files\nodejs\node.exe)
npm : 6.14.8
OS : Windows 10

Thanks in advance.

Juan Carlos.