Skip to content

Using capacitor commands tries to use wrong package #643

@blackholegalaxy

Description

@blackholegalaxy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions