Skip to content

Commit 30aeeb7

Browse files
authored
fix(core): Ensure that all non-lazy-loaded community nodes get post-processed correctly (#5782)
If you install a community node with `polling: true`, activating a workflow with that node fails with an error: `WorkflowActivationError: There was a problem activating the workflow: "Could not get parameter "pollTimes"!"`. You can test this by installing `n8n-nodes-rss-feed-trigger`, creating a workflow with the `RSS Trigger` node, and then trying to activate it. Activation will fail on `master`, but work as expected on this branch.
1 parent 161de11 commit 30aeeb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cli/src/commands/start.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class Start extends BaseCommand {
6060
}),
6161
};
6262

63-
protected activeWorkflowRunner = Container.get(ActiveWorkflowRunner);
63+
protected activeWorkflowRunner: ActiveWorkflowRunner;
6464

6565
/**
6666
* Opens the UI in browser
@@ -200,6 +200,7 @@ export class Start extends BaseCommand {
200200
await this.initCrashJournal();
201201
await super.init();
202202
this.logger.info('Initializing n8n process');
203+
this.activeWorkflowRunner = Container.get(ActiveWorkflowRunner);
203204

204205
await this.initLicense();
205206
await this.initBinaryManager();

0 commit comments

Comments
 (0)