New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capacitor: run executors runs the incorrect cap #915
Comments
It took me longer than I care to admit to debug this while attempting to update to Capacitor 5... In the end, I reverted back to plain
I believe this plugin should do the same in fact, and not even invoke |
@borgoat how do you invoke the configuration? You nested ios.android because..? |
Ok so we migrated to this and I think this is enough:
|
Sorry, you can ignore that part... a copy-paste mistake I guess. I think we wrongly copied it from other tasks such as "open" and "run" to do platform specific things, but for sync we always invoke just 1 command for both platforms: |
btw. if you dont want to run this long NX command, you can install npm-run-all and shorten it to just "cap": "npm-run-all \"nx run project:capacitor {@}\" --", |
Describe the bug
Running
@nxext/capacitor:cap:run
will try to installpackage=@capacitor/cli
instead of using the one found onnode_modules
To Reproduce
call
@nxext/capacitor:cap run
Expected behavior
Run should call the existing
@capacitor/cli
fromnode_modules
Additional context
The problem was introduced by #817
The text was updated successfully, but these errors were encountered: