When trying to use nx run PROJECT:sync:android on a brand new ionic app within a NX monorepo triggers an error on our side. It tries to run npx cap sync which tries to download the cap package https://www.npmjs.com/package/cap which of course is not what is intended.
Please note we have @capacitor/cli installed both locally in root of our NX project and globally.
When trying to use
nx run PROJECT:sync:android
on a brand new ionic app within a NX monorepo triggers an error on our side. It tries to runnpx cap sync
which tries to download thecap
package https://www.npmjs.com/package/cap which of course is not what is intended.Please note we have
@capacitor/cli
installed both locally in root of our NX project and globally.