I am making private nodes for my company I watched the video tutorial below and tested it after the link and checked existed in “C:\Users\Admin\AppData\Roaming\npm\node_modules\n8n\ node_modules” but it doesn’t appear in nodes.
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
We changed the path from v1 and using the node_modules folder is no longer supported. Instead you would need to use the ~/.n8n/custom folder which looking at your path would be something like C:\Users\Admin\.n8n\custom.
I would always recommend checking the documentation as it will contain the latest information.
Too bad I don’t understand much of what you’re saying because I’m programming from another language here. Seeing the documents change a lot makes me really helpless in testing, can you give me a simple example of importing json and returning a basic value?
That’s right I’m writing my own node, I’m going to send data to the webhook and I’m going to create my own node that processes that data. In fact, I’m going to decrypt it because it’s my financial data.
You might need to update your package.json for the credentials and the nodes, Without seeing your full file structure it is hard to say what is going on.
Well actually I just want to make an internal node that allows me to pass a json from a webhook and then process it and return a key:value. I tried here: Install private nodes | n8n Docs. But I don’t see it working
Actually, we have a lot of processing services and need security, so using a workflow is inefficient and takes many steps. We just need the customer to install our iot device and send it to the webhook and use our own notes to perform the functions.
In that case I would try setting up the node as we describe in our documentation (using /home/node/.n8n/custom) as the path is a good starting point. Are you also running n8n in docker or using npm as that could also change things a bit.