Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

fix(capacitor): ensure npx uses @capacitor/cli executable #644

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

blackholegalaxy
Copy link

@blackholegalaxy blackholegalaxy commented Sep 20, 2022

Description

As stated in linked issue, nxtend can try to use wrong cap executable since it cannot know which package this executable is referenced to.

So the solution is simply to add the --package option with @capacitor/cli package to ensure NPX will use the executable from proper package.

PR Checklist

  • Migrations have been added if necessary
  • Unit tests have been added or updated if necessary
  • e2e tests have been added or updated if necessary
  • Changelog has been updated if necessary
  • Documentation has been updated if necessary

Issue

Resolves #643

@blackholegalaxy
Copy link
Author

@devinshoemaker could you consider having this merged to nxtend. I'll also do some PR in nxext for nx 14+.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using capacitor commands tries to use wrong package
1 participant