# N8n custom node dev env with debug and hot reload

**URL:** <https://community.n8n.io/t/n8n-custom-node-dev-env-with-debug-and-hot-reload/85395>\
**Category:** Tips & Tricks\
**Created:** [March 7, 2025, 10:09am UTC](https://community.n8n.io/t/n8n-custom-node-dev-env-with-debug-and-hot-reload/85395 "2025-03-07T10:09:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gentleman9914](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Gentleman9914](https://community.n8n.io/u/Gentleman9914)\
**Post date:** [March 7, 2025, 10:09am UTC](https://community.n8n.io/t/n8n-custom-node-dev-env-with-debug-and-hot-reload/85395/1 "2025-03-07T10:09:34Z")

</div>

**Hi everyone!**

I recently came across [this post](http://community.n8n.io/t/we-need-your-help-answer-earn/80361) about the challenges new users are facing on the n8n forums. To help, I decided to make my small project public.

The documentation on building custom nodes is currently [outdated](https://github.com/n8n-io/n8n-nodes-starter/issues/62), leaving many [unsure how to get started](http://community.n8n.io/t/n8n-nodes-starter-example-switched-to-pnpm-does-not-match-tutorial/59031).

Here’s why:

- It still uses `npm`, while `pnpm` is [now the recommended package manager](https://github.com/n8n-io/n8n/pull/4429) for n8n.
- It relies on `npm link` to link nodes, but making it work with `pnpm` is [undocumented](http://community.n8n.io/t/issues-creating-custom-nodes/81250/4). Instead, many users [turn to Docker](http://community.n8n.io/t/need-help-with-testing-custom-node-in-dev-container/57520/5) for a smoother experience.

Interestingly, n8n itself [uses devcontainers](https://github.com/n8n-io/n8n/tree/master/.devcontainer) to simplify contributions—so why not leverage them for custom node development too?

To address these issues, I created **[n8n-nodes-builder](https://github.com/mathisgauthey/n8n-nodes-builder)**, a repository designed to help newcomers get started effortlessly.

The setup is simple, mostly automated, and follows the same methods used by the official n8n repository.

Give it a try, and if you have improvements, I’d love your input! For instance, I currently struggle with [making hot reloading work](https://github.com/mathisgauthey/n8n-nodes-builder/issues/5), feel free to PR some changes !

**Have a great day!**

---

<div class="post-metadata">

**Author:** ![Chrevor](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/chrevor/32/41518_2.png) [@Chrevor](https://community.n8n.io/u/Chrevor)\
**Post date:** [April 1, 2025, 4:40pm UTC](https://community.n8n.io/t/n8n-custom-node-dev-env-with-debug-and-hot-reload/85395/2 "2025-04-01T16:40:29Z")

</div>

Awesome! I look forward to giving it a go. Appreciate you

---

<div class="post-metadata">

**Author:** ![Gentleman9914](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@Gentleman9914](https://community.n8n.io/u/Gentleman9914)\
**Post date:** [April 1, 2025, 4:44pm UTC](https://community.n8n.io/t/n8n-custom-node-dev-env-with-debug-and-hot-reload/85395/3 "2025-04-01T16:44:01Z")

</div>

Cheers, feel free to report your issues, I’ll have a look !
