diff --git a/packages/nx/src/tasks-runner/task-orchestrator.ts b/packages/nx/src/tasks-runner/task-orchestrator.ts index fbe7295a01573..cb9cb73e33324 100644 --- a/packages/nx/src/tasks-runner/task-orchestrator.ts +++ b/packages/nx/src/tasks-runner/task-orchestrator.ts @@ -456,6 +456,13 @@ export class TaskOrchestrator { terminalOutput, }); } + } else if (targetConfiguration.executor === 'nx:noop') { + writeFileSync(temporaryOutputPath, ''); + results.push({ + task, + status: 'success', + terminalOutput: '', + }); } else { // cache prep const { code, terminalOutput } = await this.runTaskInForkedProcess(