Closed ckcckchk closed 2 years ago
It turns out that I should install the capacitor admob package within each project in nx monorepo, instead of installing in the the monorepo outermost level. Sorry, thank you.
It turns out that I should install the capacitor admob package within each project in nx monorepo, instead of installing in the the monorepo outermost level. Sorry, thank you.
Sorry, late to the party but it is not needed that you install it in each project, it is enough for you to create a json file inside your project, with the list of the existing plugins.
Capacitor doesn't play completely well with nx monorepos
I am using ionic/angular(^5.8.3) + capacitor (^3.2.5) + nx monorepo. I added @capacitor-community/admob": "^3.3.0" to my project, following the implementation steps. When trying to run in Andriod emulator, got this error:
Because I am using NX, after $ npm i the admob pacakge, I did not run $ npx cap update. Instead, I ran $ nx run (PROJ-NAME):update.
Additional context My package.json