# Developing Nodes

**URL:** https://discourse.nodered.org/c/developing-nodes/15.md?page=11

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 12

---

## [Flows stopped due to missing node types (but node type is undefined)](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-but-node-type-is-undefined/80114)

<div class="topic-metadata">

**Author:** [@mngkkkkkk](https://discourse.nodered.org/u/mngkkkkkk)\
**Replies:** 2\
**Last updated:** [27 July 2023 15:50 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-but-node-type-is-undefined/80114 "2023-07-27T15:50:29Z")

</div>

Hi everyone, I'm new to node-red and java script in general And I want to create my node that will take data, do some manipulations with this data and then send the data via http I use axios for requests After many att…

---

## [Readme information missing from https://flows.nodered.org/node page for a new node](https://discourse.nodered.org/t/readme-information-missing-from-https-flows-nodered-org-node-page-for-a-new-node/80065)

<div class="topic-metadata">

**Author:** [@tonymacdonald](https://discourse.nodered.org/u/tonymacdonald)\
**Replies:** 3\
**Last updated:** [26 July 2023 18:24 UTC](https://discourse.nodered.org/t/readme-information-missing-from-https-flows-nodered-org-node-page-for-a-new-node/80065 "2023-07-26T18:24:58Z")

</div>

I have just published a package and added it to the node red nodes library. However, I had an issue with the links to a couple of images in the README.md which were displaying on GitHub but showing broken links on npm…

---

## [Node modules folder in forked github repo?](https://discourse.nodered.org/t/node-modules-folder-in-forked-github-repo/79911)

<div class="topic-metadata">

**Author:** [@Joe-AB1DO](https://discourse.nodered.org/u/Joe-AB1DO)\
**Replies:** 7\
**Last updated:** [24 July 2023 15:44 UTC](https://discourse.nodered.org/t/node-modules-folder-in-forked-github-repo/79911 "2023-07-24T15:44:26Z")

</div>

About 9 months ago or so I successfully forked a node-red github repo and have been updating the .html and .js files ever since using vscode, regularly committing the changes to my forked repo. One thing I did notice is …

---

## [Msg.stop support in node-red-node-daemon](https://discourse.nodered.org/t/msg-stop-support-in-node-red-node-daemon/79975)

<div class="topic-metadata">

**Author:** [@gmarzot](https://discourse.nodered.org/u/gmarzot)\
**Replies:** 9\
**Last updated:** [20 July 2023 21:06 UTC](https://discourse.nodered.org/t/msg-stop-support-in-node-red-node-daemon/79975 "2023-07-20T21:06:34Z")

</div>

Here is a PR that adds support for a stop message (msg.stop) which will kill suspend restarting the process. it also makes the msg.start message trigger a restart as per existing docs. first contribution so please feel …

---

## [Unable to install whatsapp link module in Node Red](https://discourse.nodered.org/t/unable-to-install-whatsapp-link-module-in-node-red/79906)

<div class="topic-metadata">

**Author:** [@manikanta92](https://discourse.nodered.org/u/manikanta92)\
**Replies:** 1\
**Last updated:** [18 July 2023 14:35 UTC](https://discourse.nodered.org/t/unable-to-install-whatsapp-link-module-in-node-red/79906 "2023-07-18T14:35:39Z")

</div>

Hi, I am trying to install Whatsapp Link Module in Node Red. However it is failing to launch in th node red dashboard pallete. Also, throwing an error during installation with log details given below. 2023-07-18T13:5…

---

## [Getting constant values of Environment events Temp 20 Humidity 80 and Pressure 1000 with node-red-node-pi-sense-hat-simulator](https://discourse.nodered.org/t/getting-constant-values-of-environment-events-temp-20-humidity-80-and-pressure-1000-with-node-red-node-pi-sense-hat-simulator/79848)

<div class="topic-metadata">

**Author:** [@sajwan\_3](https://discourse.nodered.org/u/sajwan_3)\
**Replies:** 0\
**Last updated:** [15 July 2023 14:33 UTC](https://discourse.nodered.org/t/getting-constant-values-of-environment-events-temp-20-humidity-80-and-pressure-1000-with-node-red-node-pi-sense-hat-simulator/79848 "2023-07-15T14:33:10Z")

</div>

I installed node-red-node-pi-sense-hat-simulator on windows 10 and tried to generate the Environmental values but getting same values for temp pressure and humidity as 20 80 1000 respectively. Please help in resolving t…

---

## [Question about name space for name scoped nodes](https://discourse.nodered.org/t/question-about-name-space-for-name-scoped-nodes/79637)

<div class="topic-metadata">

**Author:** [@tonymacdonald](https://discourse.nodered.org/u/tonymacdonald)\
**Replies:** 11\
**Last updated:** [14 July 2023 18:10 UTC](https://discourse.nodered.org/t/question-about-name-space-for-name-scoped-nodes/79637 "2023-07-14T18:10:32Z")

</div>

Hi I am working on my first custom node and have some very basic questions Is there a particular preferred namespace for the scoped names used for new nodes? i.e. in @myScope/node-red-contrib-my-node, is myScope a)…

---

## [Custom node changes in dev folder not loaded](https://discourse.nodered.org/t/custom-node-changes-in-dev-folder-not-loaded/79690)

<div class="topic-metadata">

**Author:** [@znetsixe](https://discourse.nodered.org/u/znetsixe)\
**Replies:** 10\
**Last updated:** [11 July 2023 11:37 UTC](https://discourse.nodered.org/t/custom-node-changes-in-dev-folder-not-loaded/79690 "2023-07-11T11:37:55Z")

</div>

Quick question : On all my other window machines the changes I make in the dev folder which is linked to my github get picked up after doing npm install node-name On 1 machine that doesnt happen for some reason... act…

---

## [Error while creating my first custom node - "ReferenceError: done is not defined"](https://discourse.nodered.org/t/error-while-creating-my-first-custom-node-referenceerror-done-is-not-defined/79468)

<div class="topic-metadata">

**Author:** [@Vrrrum](https://discourse.nodered.org/u/Vrrrum)\
**Replies:** 5\
**Last updated:** [7 July 2023 18:38 UTC](https://discourse.nodered.org/t/error-while-creating-my-first-custom-node-referenceerror-done-is-not-defined/79468 "2023-07-07T18:38:00Z")

</div>

Hi! I'm trying to create my first custom node, but I get this weird error: "ReferenceError: done is not defined" when I try to run my custom node. The thing is I don't use "done" method anywhere in the code. The node is …

---

## [Is there a way for a custom node to add a function that is accessible in a function node?](https://discourse.nodered.org/t/is-there-a-way-for-a-custom-node-to-add-a-function-that-is-accessible-in-a-function-node/79530)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 8\
**Last updated:** [7 July 2023 13:22 UTC](https://discourse.nodered.org/t/is-there-a-way-for-a-custom-node-to-add-a-function-that-is-accessible-in-a-function-node/79530 "2023-07-07T13:22:16Z")

</div>

I would like to add an object deep find javascript function to Node-RED in such a way that it is accessible in a function node. Is there any reasonable way to achieve this? The deep find function is a recursive function…

---

## [How to version input/output?](https://discourse.nodered.org/t/how-to-version-input-output/79599)

<div class="topic-metadata">

**Author:** [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Replies:** 1\
**Last updated:** [5 July 2023 09:48 UTC](https://discourse.nodered.org/t/how-to-version-input-output/79599 "2023-07-05T09:48:45Z")

</div>

As the input and output of a custom node might change over time, I'm wondering what would be best practice for keeping track of this... shall I simply rely on the version of a node (e.g. another node could read the versi…

---

## [Is it possible to use a node contained in a dependency?](https://discourse.nodered.org/t/is-it-possible-to-use-a-node-contained-in-a-dependency/79512)

<div class="topic-metadata">

**Author:** [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Replies:** 3\
**Last updated:** [3 July 2023 10:28 UTC](https://discourse.nodered.org/t/is-it-possible-to-use-a-node-contained-in-a-dependency/79512 "2023-07-03T10:28:56Z")

</div>

Hi all, I have a palette A which contains a config-node, I would like to externalize this config-node in another module so that this config-node can be used by another palette B. Palettes A and B will therefore have th…

---

## [File path to image jimp image](https://discourse.nodered.org/t/file-path-to-image-jimp-image/79543)

<div class="topic-metadata">

**Author:** [@gitmacer](https://discourse.nodered.org/u/gitmacer)\
**Replies:** 2\
**Last updated:** [2 July 2023 17:03 UTC](https://discourse.nodered.org/t/file-path-to-image-jimp-image/79543 "2023-07-02T17:03:50Z")

</div>

I tried to load an image file I pack with my node but if I Jimp.read("./test.png") or Jimp.read("test.png") I get "Error: ENOENT: no such file or directory, open './test.png'" even though it is right beside the js fi…

---

## [Dynamic node invocation](https://discourse.nodered.org/t/dynamic-node-invocation/79458)

<div class="topic-metadata">

**Author:** [@andreea-anastasescu](https://discourse.nodered.org/u/andreea-anastasescu)\
**Replies:** 5\
**Last updated:** [28 June 2023 16:13 UTC](https://discourse.nodered.org/t/dynamic-node-invocation/79458 "2023-06-28T16:13:40Z")

</div>

Is it possible to create a custom node, that based on some input to invoke dynamically other nodes in Nodered?

---

## [Is it possible to have a node "type" different to the node name/label shown in the palette?](https://discourse.nodered.org/t/is-it-possible-to-have-a-node-type-different-to-the-node-name-label-shown-in-the-palette/79400)

<div class="topic-metadata">

**Author:** [@flecoufle](https://discourse.nodered.org/u/flecoufle)\
**Replies:** 3\
**Last updated:** [26 June 2023 08:09 UTC](https://discourse.nodered.org/t/is-it-possible-to-have-a-node-type-different-to-the-node-name-label-shown-in-the-palette/79400 "2023-06-26T08:09:18Z")

</div>

I saw some nodes having a "label" in palette different from the real type coded in the flows.json ? I have seen builtin nodes like this: example : It's written "Read file" but the node type seems to be "file in" in ot…

---

## [Advice for creating first node](https://discourse.nodered.org/t/advice-for-creating-first-node/79375)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 3\
**Last updated:** [23 June 2023 19:50 UTC](https://discourse.nodered.org/t/advice-for-creating-first-node/79375 "2023-06-23T19:50:32Z")

</div>

Happy Friday everyone. Based on my success with using a simple open source program called SSOCR to do very accurate optical character recognition of seven segment numerical digits, I thought it would be good opportunity…

---

## [Node.send() is not working always](https://discourse.nodered.org/t/node-send-is-not-working-always/79374)

<div class="topic-metadata">

**Author:** [@abhiram](https://discourse.nodered.org/u/abhiram)\
**Replies:** 4\
**Last updated:** [23 June 2023 16:07 UTC](https://discourse.nodered.org/t/node-send-is-not-working-always/79374 "2023-06-23T16:07:58Z")

</div>

My case is similar to that of Node.send not always works - Developing Nodes - Node-RED Forum (nodered.org). I did not understand what cleanup I should do. I am trying to build a custom Kafka Consumer node where I am usi…

---

## [Create node with conditional properties (tabs)](https://discourse.nodered.org/t/create-node-with-conditional-properties-tabs/79224)

<div class="topic-metadata">

**Author:** [@BennyMeg](https://discourse.nodered.org/u/BennyMeg)\
**Replies:** 4\
**Last updated:** [16 June 2023 07:18 UTC](https://discourse.nodered.org/t/create-node-with-conditional-properties-tabs/79224 "2023-06-16T07:18:56Z")

</div>

I am developing a new node (in v3) that control motor movement. Most of the properties are shared but some of them are conditional base of the motor operation mode, i.e., the user can choose to define propery1 or proper…

---

## [Access storage Module in Custom Node](https://discourse.nodered.org/t/access-storage-module-in-custom-node/79142)

<div class="topic-metadata">

**Author:** [@KilianHertel](https://discourse.nodered.org/u/KilianHertel)\
**Replies:** 1\
**Last updated:** [13 June 2023 12:43 UTC](https://discourse.nodered.org/t/access-storage-module-in-custom-node/79142 "2023-06-13T12:43:10Z")

</div>

Hi, is it possible to access functions from a custom storageModule I provided in a customNode? So lets say if I have a websocket Connection already open in my storage module could i use that same connection in a custom…

---

## [Question about node.send() specifying a message](https://discourse.nodered.org/t/question-about-node-send-specifying-a-message/79143)

<div class="topic-metadata">

**Author:** [@Angin](https://discourse.nodered.org/u/Angin)\
**Replies:** 4\
**Last updated:** [12 June 2023 12:31 UTC](https://discourse.nodered.org/t/question-about-node-send-specifying-a-message/79143 "2023-06-12T12:31:16Z")

</div>

In a custom node, I only want to output msg information that meets certain conditions. Other msg information that does not meet the conditions should not output any information when passing through the custom node. …

---

## [JSDoc / Type annotations for global context from custom node](https://discourse.nodered.org/t/jsdoc-type-annotations-for-global-context-from-custom-node/79137)

<div class="topic-metadata">

**Author:** [@CSL](https://discourse.nodered.org/u/CSL)\
**Replies:** 0\
**Last updated:** [12 June 2023 07:33 UTC](https://discourse.nodered.org/t/jsdoc-type-annotations-for-global-context-from-custom-node/79137 "2023-06-12T07:33:05Z")

</div>

Hi, I'm trying to have code completion for an object i registered in the global context using a custom node. I am fine with either JSDoc typedefs or using Typescript, I just want some sort of code completion there. I …

---

## [Using configuration node inside another type of configuration node](https://discourse.nodered.org/t/using-configuration-node-inside-another-type-of-configuration-node/79083)

<div class="topic-metadata">

**Author:** [@andreea-anastasescu](https://discourse.nodered.org/u/andreea-anastasescu)\
**Replies:** 1\
**Last updated:** [9 June 2023 15:13 UTC](https://discourse.nodered.org/t/using-configuration-node-inside-another-type-of-configuration-node/79083 "2023-06-09T15:13:20Z")

</div>

Hello, I am trying to obtain some "multi-level" configuration system and to achieve this I would like to use a configuration node inside another type of configuration node. Is there any chance to obtain this?

---

## [Calling a function on double click on node](https://discourse.nodered.org/t/calling-a-function-on-double-click-on-node/79069)

<div class="topic-metadata">

**Author:** [@enniob](https://discourse.nodered.org/u/enniob)\
**Replies:** 3\
**Last updated:** [8 June 2023 21:25 UTC](https://discourse.nodered.org/t/calling-a-function-on-double-click-on-node/79069 "2023-06-08T21:25:15Z")

</div>

Is there a way to call a function when double clicking the node. I need to get some data from an API so I can display in the editor so the user can select it. Thanks, Ennio

---

## [Output block stops functioning after executing some code? in a custom made block](https://discourse.nodered.org/t/output-block-stops-functioning-after-executing-some-code-in-a-custom-made-block/79055)

<div class="topic-metadata">

**Author:** [@znetsixe](https://discourse.nodered.org/u/znetsixe)\
**Replies:** 1\
**Last updated:** [8 June 2023 20:50 UTC](https://discourse.nodered.org/t/output-block-stops-functioning-after-executing-some-code-in-a-custom-made-block/79055 "2023-06-08T20:50:19Z")

</div>

Hi All, I have developped some code. Too complicated and large to paste here but somehow when I execute a particular piece of code on that block when node red is running it stops the Revolution Pi output (analog) block …

---

## [Add files to the gitlab repository using nodes](https://discourse.nodered.org/t/add-files-to-the-gitlab-repository-using-nodes/79009)

<div class="topic-metadata">

**Author:** [@Sateeshbandaru9](https://discourse.nodered.org/u/Sateeshbandaru9)\
**Replies:** 2\
**Last updated:** [7 June 2023 15:42 UTC](https://discourse.nodered.org/t/add-files-to-the-gitlab-repository-using-nodes/79009 "2023-06-07T15:42:47Z")

</div>

Hi All, I need to add or modify the files in the gitlab repository using nodes. any one can help help me on this to create the node flows for this.

---

## [I need to connect to the gitlab from gitlab](https://discourse.nodered.org/t/i-need-to-connect-to-the-gitlab-from-gitlab/78987)

<div class="topic-metadata">

**Author:** [@Sateeshbandaru9](https://discourse.nodered.org/u/Sateeshbandaru9)\
**Replies:** 0\
**Last updated:** [6 June 2023 10:27 UTC](https://discourse.nodered.org/t/i-need-to-connect-to-the-gitlab-from-gitlab/78987 "2023-06-06T10:27:30Z")

</div>

Hello Everyone, i ever tried to connect the gitlab from node-red. i want to connect gitlab repository using the flows. how can we prepare the flow structure after adding the gitlab nodes in palette. could anyone can pl…

---

## [Is there a way to modify native validator functions?](https://discourse.nodered.org/t/is-there-a-way-to-modify-native-validator-functions/78963)

<div class="topic-metadata">

**Author:** [@ericbenjaminjr](https://discourse.nodered.org/u/ericbenjaminjr)\
**Replies:** 3\
**Last updated:** [5 June 2023 20:19 UTC](https://discourse.nodered.org/t/is-there-a-way-to-modify-native-validator-functions/78963 "2023-06-05T20:19:36Z")

</div>

Hi all, I'm testing the use of mustache template strings in typedInput fields as I've often had the need to set a key based on a topic. But the msg, flow and global types show an error when I use dots between the {{stri…

---

## [Searching for the API entries for the function this.on('close', ....) and this.on('input', ....)](https://discourse.nodered.org/t/searching-for-the-api-entries-for-the-function-this-on-close-and-this-on-input/78898)

<div class="topic-metadata">

**Author:** [@FredEdison](https://discourse.nodered.org/u/FredEdison)\
**Replies:** 4\
**Last updated:** [2 June 2023 16:13 UTC](https://discourse.nodered.org/t/searching-for-the-api-entries-for-the-function-this-on-close-and-this-on-input/78898 "2023-06-02T16:13:49Z")

</div>

Hi, may be I searched wrong but I am searching for the API which describes me for example this.on('input', ....), this.on('close', ....) and the other possibilites. I am developing a custom node and it's works fine. Fo…

---

## [Upgrade node-red framework from 1.x to 4.x to my project](https://discourse.nodered.org/t/upgrade-node-red-framework-from-1-x-to-4-x-to-my-project/78814)

<div class="topic-metadata">

**Author:** [@chiche](https://discourse.nodered.org/u/chiche)\
**Replies:** 4\
**Last updated:** [31 May 2023 14:00 UTC](https://discourse.nodered.org/t/upgrade-node-red-framework-from-1-x-to-4-x-to-my-project/78814 "2023-05-31T14:00:50Z")

</div>

I develop some custom module into node-red project from v1.x. Now I want upgrade node-red to 4.x, I don't want to merge my code to the new node-red framework because the change is big. Which upgrade method is best for me…

---

## [My first module, config does not update until NodeRED is restarted](https://discourse.nodered.org/t/my-first-module-config-does-not-update-until-nodered-is-restarted/78581)

<div class="topic-metadata">

**Author:** [@cmtickle](https://discourse.nodered.org/u/cmtickle)\
**Replies:** 11\
**Last updated:** [31 May 2023 11:00 UTC](https://discourse.nodered.org/t/my-first-module-config-does-not-update-until-nodered-is-restarted/78581 "2023-05-31T11:00:29Z")

</div>

Hi, I have used NodeRED for a number of years, but never needed to create my own custom node... until now. I'm on NodeRED 3.0.2 I have a 'name' property in the data-template and also a multi-select typedInput. I have …

[Previous page](https://discourse.nodered.org/c/developing-nodes/15.md?page=10)

[Next page](https://discourse.nodered.org/c/developing-nodes/15.md?page=12)
