Is there something new to add in the custom nodes to make them work ?
I just tried to create a new blank custom node but I don’t see it appearing in N8n neither. I build it without any errors but I don’t see it when I search in on the right panel
Hi @MutedJam , thanks for your answer. For the version, I just checked and I used the same workflow to upgrade my version than the one in the link below
It looks like ok for me.
For your second question, I don’t quite get it. I don’t know if it is the “new” way but at that time I was using the package “n8n-node-dev” to create and build the custom nodes. Once built it copied the nodes in the .n8n directory…Is using “lerna” the new & correct way to create custom nodes ? And is there any way to update the “legacy” nodes ? Sorry for all the questions, but I’m quiet lost
Ah, n8n-node-dev build is actually how I deployed my first own node as well
The documentation is still available at Using the Node Dev CLI | Docs though, so my first thought would be that it should still work - I will give this a more thorough testing on Monday to make sure. Maybe @RicardoE105 has some thoughts on this in the meantime?
Until then is there any chance your node isn’t available in the .n8n/custom folder (maybe because you are deploying the new version through other means such as docker or have changed the N8N_USER_FOLDER environment variable)?
Thanks Ricardo, but I just checked the breaking-change document, but I don’t use this.getCredentials(myNodeCredentials) function in my node.
Here is the complete example :
I create a new custom node (I leave everything by default)
In the “packages/node-base/package.json” they are not registered. So I have to copy/paste my nodes manually in the folder and update the package.json file. I can finally see my custom nodes ! A bit tricky but at least it works now. Thank you for your help !