-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Error when running affected:test with --parallel #700
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
Comments
Ah ... I have found the problem.
Adding that has fixed the issue. |
Having that as a requirement is not documented anywhere. There should at least be a fallback if that is not present. I just ran into this same issue and that's a bit frustrating that I have to have a pointless reference in the package.json for this to work. |
When running the affected command with the `--parallel` option, `npm-run-all` is used to achieve the parallel execution of the desired tasks. Because of the use of `npm-run-all`, the `ng` command should be visible and declared as script command in the `package.json` of your project. This adds a verification before runing the command with the `--parallel` option to make sure the `package.json` has the `ng: "ng"` command in the `scripts` section. close nrwl#700
When running the affected command with the `--parallel` option, `npm-run-all` is used to achieve the parallel execution of the desired tasks. Because of the use of `npm-run-all`, the `ng` command should be visible and declared as script command in the `package.json` of your project. This adds a verification before runing the command with the `--parallel` option to make sure the `package.json` has the `ng: "ng"` command in the `scripts` section. close nrwl#700
When running the affected command with the `--parallel` option, `npm-run-all` is used to achieve the parallel execution of the desired tasks. Because of the use of `npm-run-all`, the `ng` command should be visible and declared as script command in the `package.json` of your project. This adds a verification before runing the command with the `--parallel` option to make sure the `package.json` has the `ng: "ng"` command in the `scripts` section. close nrwl#700
When running the affected command with the `--parallel` option, `npm-run-all` is used to achieve the parallel execution of the desired tasks. Because of the use of `npm-run-all`, the `ng` command should be visible and declared as script command in the `package.json` of your project. This adds a verification before runing the command with the `--parallel` option to make sure the `package.json` has the `ng: "ng"` command in the `scripts` section. close nrwl#700
When running the affected command with the `--parallel` option, `npm-run-all` is used to achieve the parallel execution of the desired tasks. Because of the use of `npm-run-all`, the `ng` command should be visible and declared as script command in the `package.json` of your project. This adds a verification before runing the command with the `--parallel` option to make sure the `package.json` has the `ng: "ng"` command in the `scripts` section. close nrwl#700
When running the affected command with the `--parallel` option, `npm-run-all` is used to achieve the parallel execution of the desired tasks. Because of the use of `npm-run-all`, the `ng` command should be visible and declared as script command in the `package.json` of your project. This adds a verification before runing the command with the `--parallel` option to make sure the `package.json` has the `ng: "ng"` command in the `scripts` section. close #700
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Hi,
Apologies if this has been mentioned before or if I'm doing something stupid but I'm getting a "Cannot read property 'forEach' of undefined" when I try to run any of the affected commands with --parallel.
This is with version 6.2.0 but doesn't work with earlier versions.
Windows, Node v9.11.1
For example.
Without trying to run in parallel everything works fine.
If anyone could point me in the right direction to either fix or diagnose the problem I would be very grateful.
Thanks.
The text was updated successfully, but these errors were encountered: