-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Hello.
Is it possible to run a ionic app inside the nx-monorepo using ionic labs?
ionic serve --lab
I tried adding this command to my nx config like so:
...
"labs": {
"executor": "nx:run-commands",
"options": {
"command": "ionic serve --lab",
"cwd": "apps/farmer-companion",
"parallel": false
}
},
...But it errors out, cause ionic cannot find the workspace:
> ng.cmd run app:serve --host=localhost --port=8100
[ng] Error: This command is not available when running the Angular CLI outside a workspace.
[ERROR] ng has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error details.
> NX ERROR: Something went wrong in run-commands - Command failed: ionic serve --lab
Pass --verbose to see the stacktrace.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels