Hi, for more than 2 Years i builded my apks over cmd "Cordova build android" with no problems!
I have the latests construct 2 build
Today i buyed this plug-in
Before i correctet the line i made a few apk tests
After i corrected the line to <plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/> i cannot build any apks!
this is the first error with "cordova prepare android"
Failed to install 'cocoon-plugin-ads-android-admob': Error: Cannot find module 'cordova-common'
Require stack: ...
and
Failed to install 'cordova-plugin-ad-admob': CordovaError: Failed to fetch plugin github.com/cranberrygame/cordova-plugin-ad-admob-sdk via registry.
this is the error when i write => cordova build android
cordova-custom-config: Error loading dependencies for restoreBackups.js - ensure the plugin has been installed via cordova-fetch or run 'npm install cordova-custom-config': Cannot find module 'q'
Require stack:
- C:\Projekte\Construct2\Devil\Exports\Exports Cordova\90 - Kopie\plugins\cordova-custom-config\hooks\restoreBackups.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\plugman.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\cordova-lib.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\src\help.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\src\cli.js
- C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\bin\cordova
i would appreciate help, thx!