Hi, I want to use a node library in the custom node, can anyone help me setting up this node library in n8n project.
How are you running n8n? If for example in Docker that will simply not be possible.
I am running it in dev mode, and new node is present in .n8n/custom.
Ok, in that case, you have a few different choices:
- npm install the module in
packages/cliand then allow the module like described here:
- Create your own n8n-node-module like described here:
- Create a new node in the existing
n8n-nodes-basemodule like described here: https://github.com/n8n-io/n8n/blob/master/CONTRIBUTING.md#create-a-new-node-to-contribute-to-n8n
You should definitly check out 2., we switched to that approach recently and not looking back