Custom npm module not loading in n8n

Hi everyone,

I’m currently trying to make a custom node package and it doesn’t seem to want to load and I’m not sure why. I’ve followed this guide (https://docs.n8n.io/nodes/creating-nodes/node-dev-cli.html#create-own-custom-n8n-nodes-module).

I had those exact node files in the nodes-base folder of n8n and it was working fine, but my module (either locally though npm link or directly installing the module with npm install -g n8n-nodes-syncromsp doesn’t seem to work at all. Anyone’s willing to check the repo to see if they notice anything that’s wrong/missing? GitHub - Maelstrom96/n8n-nodes-syncromsp: Custom n8n SyncroMSP node

Thanks alot.

so couple things to check - did you restart n8n after installing the package? custom nodes only load on startup. also make sure your package.json has the `n8n` section with the nodes array pointing to the right files.

looking at your repo, the package.json looks ok but double check that `N8N_CUSTOM_EXTENSIONS` env variable is set to the folder where your node package is installed if youre not installing globally. if you did `npm install -g` then just restart n8n and it should show up.

one more thing - when you say “doesnt seem to work” do you mean it doesnt show up in the nodes panel at all, or you see it but it errors? that’ll help narrow it down