Create custom node


I’m actually searching to create a custom n8n node by using the ‘n8n-node-dev’ package, but when i try to build a simple new node with the command ‘n8n-node-dev new’ by using the command ‘n8n-node-dev build’, it return this :


Do i have to install a specific version of Node.js or something ?

Thanks for your help !

Hi @Gabriel_Delahaye, I am sorry to hear you’re having trouble here.

Could you describe your environment so I can try and reproduce the problem? Which operating system are you using, how are you deploying n8n and which version of Node.js are you running?

As for the Node.js version we are recommend Node.js 14 here.

Hi @MutedJam, thanks for the reply, but i wasnt using a good development environment.

I wasn’t initialising properly the git repository. Everything is fine now.

Anyway, thanks and have a good day !