I’d like to execute custom nodes using my actual n8n system. I’ve prepared setup a docker-compose.yaml to run specific web requests. I tried execute npm run build (to prepare and test node) outside my container, at my n8n-nodes-* folder, and put it in n8n_data, to send for my local n8n server in execution. The npm link doesn’t work, probably because I couldn’t create a link directly from my local folder to container’s volume, so this is why I only ran npm build.
Well, I already changed the name from package.json, and deleted all files and recreated them, but it still not working and no custom nodes are showing in nodes panel (and no errors are plotted). Any tips to solve this? The docs apparently just show for a local node.js installation, and the proposed Dockerfile uses version 16-alpine, which refuses to start n8n (private node section), so I can’t move next with it.
Do you have the files in the n8n-nodes-starter volume you are using? Don’t forget that volumes are different to binds which are local file paths so if you have not moved the files to the volume I would have the first path of the volume mount to a bind / local file
Path instead.