Bug in ExternelHook.ts

Describe the issue/error

I just wanted to test the hooks (Configuration - n8n Documentation) on a win10 system with cmd set EXTERNAL_HOOK_FILES=C:\Users\{username}\.n8n\hooks.js and the console tells me “C” not found. It wouldn’t use relative paths either. And then I looked in GitHub: (n8n/ExternalHooks.ts at ec2c55211c61d9bc4e68c876417b071c6a6b8535 · n8n-io/n8n · GitHub). It is documented that multiple files should be separated with ‘;’ but in the code the string is split with ‘:’. If I change the line locally to ‘;’ it works fine.

Information on your n8n setup

n8n version: 0.193.5

Side question: Is there no category for bugs/errors here in the forum?

Hi @BillAlex, thanks so much for bringing this up! The question category is fine for bugs I think :slight_smile:

I’ll make sure to add this to our internal bug tracker for a closer look.

1 Like

Yeah, I was thinking the same after I posted my answer and edited it, so looks very much like a product problem.