TSlint error when trying to build

Hi everyone, hope you’re doing fine.

I’m trying to build the n8n project by using npm run build, and I faced these errors:

nodes/RssFeedRead.node.ts(49,13): error TS2314: Generic type 'Output<U>' requires 1 type argument(s).

nodes/RssFeedRead.node.ts(65,24): error TS7006: Parameter 'item' implicitly has an 'any' type.

nodes/Webhook.node.ts(410,36): error TS2339: Property 'toJSON' does not exist on type 'File | File[]'.

Property 'toJSON' does not exist on type 'File[]'.

nodes/Webhook.node.ts(411,66): error TS2339: Property 'path' does not exist on type 'File | File[]'.

Property 'path' does not exist on type 'File[]'.

Also I when I try to run a pipeline on n8n project on my own server, it raises these errors again. Seems weird! Do you have any idea how can I fix it?

Are you running the latest code from GitHub?

Because the last successful build of it was 2h ago:

So it should work. If you run the latest code it is best to check the code out in a new folder to make sure that you also use all the latest npm packages.

1 Like

@jan Thanks a lot.
Actually No I’m not running the latest version.
Let me update my node packages and see what happens.
Tnx