Skip to content
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

When adding mobile platform support via capacitor command is not supported by Nx #653

Open
mrcreatist opened this issue Nov 12, 2022 · 2 comments

Comments

@mrcreatist
Copy link

$ nx run my-app:add:ios
$ nx run my-app:add:android

@nrwl/workspace:run-commands is deprecated and will be removed in Nx 16. Please switch to nx:run-commands

Cannot read properties of undefined (reading 'length')

TypeError: Cannot read properties of undefined (reading 'length')
at interpolateArgsIntoCommand (/Users/mrcreatist/Projects/poc/nx-app/node_modules/nx/src/executors/run-commands/run-commands.impl.js:193:47)
at /Users/mrcreatist/Projects/poc/nx-app/node_modules/nx/src/executors/run-commands/run-commands.impl.js:106:21
at Array.forEach ()
at normalizeOptions (/Users/mrcreatist/Projects/poc/nx-app/node_modules/nx/src/executors/run-commands/run-commands.impl.js:104:22)
at /Users/mrcreatist/Projects/poc/nx-app/node_modules/nx/src/executors/run-commands/run-commands.impl.js:41:28
at Generator.next ()
at fulfilled (/Users/mrcreatist/Projects/poc/nx-app/node_modules/tslib/tslib.js:115:62)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

NX Running target "my-app:add" failed

Failed tasks:

  • my-app:add:ios
@danyhiol
Copy link

danyhiol commented Dec 1, 2022

same here

@devinshoemaker
Copy link
Collaborator

This project is no longer maintained and these plugins have been moved to https://nxext.dev. There are migrations guides on the docs for each plugin. Try that out, and report any issues on that repo.

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

No branches or pull requests

3 participants