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:androidon a brand new ionic app within a NX monorepo triggers an error on our side. It tries to runnpx cap syncwhich tries to download thecappackage https://www.npmjs.com/package/cap which of course is not what is intended.Please note we have
@capacitor/cliinstalled both locally in root of our NX project and globally.