# Developing Nodes

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

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

**Page:** 43

---

## [Node-red-nodegen Help](https://discourse.nodered.org/t/node-red-nodegen-help/3705)

<div class="topic-metadata">

**Author:** [@mako](https://discourse.nodered.org/u/mako)\
**Replies:** 9\
**Last updated:** [9 April 2020 14:04 UTC](https://discourse.nodered.org/t/node-red-nodegen-help/3705 "2020-04-09T14:04:13Z")

</div>

Hello Chaps. I have been trying to get this Npm to work but not having to much look Using Example 2 Example 2. Create original node from function node (JavaScript code) On Node-RED flow editor, save function node…

---

## [Error of Speech to Text node](https://discourse.nodered.org/t/error-of-speech-to-text-node/23947)

<div class="topic-metadata">

**Author:** [@lingzhongli](https://discourse.nodered.org/u/lingzhongli)\
**Replies:** 15\
**Last updated:** [3 April 2020 09:32 UTC](https://discourse.nodered.org/t/error-of-speech-to-text-node/23947 "2020-04-03T09:32:03Z")

</div>

how to solve this error? Is that api key and url wrong? I can't record my voice .... i using mic from earphone.....

---

## [How to acknowledge contributors to a custom node](https://discourse.nodered.org/t/how-to-acknowledge-contributors-to-a-custom-node/24058)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 0\
**Last updated:** [1 April 2020 23:00 UTC](https://discourse.nodered.org/t/how-to-acknowledge-contributors-to-a-custom-node/24058 "2020-04-01T23:00:02Z")

</div>

I need to know how the flow library picks up the identity of the maintainer and contributors of a node. I put this information in the README file, of course, but either npm or the library script gets information for the …

---

## [Need help resolviing an issue for a custom node](https://discourse.nodered.org/t/need-help-resolviing-an-issue-for-a-custom-node/23993)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 7\
**Last updated:** [1 April 2020 21:43 UTC](https://discourse.nodered.org/t/need-help-resolviing-an-issue-for-a-custom-node/23993 "2020-04-01T21:43:00Z")

</div>

I started creating a set of ICMP tools for listening/sending messages/packets. So the node is based around the npm package ICMP. On some deploys listen node works successfully, but on some deploys, the node is just stu…

---

## [Reading message object in js file](https://discourse.nodered.org/t/reading-message-object-in-js-file/23867)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 4\
**Last updated:** [30 March 2020 10:43 UTC](https://discourse.nodered.org/t/reading-message-object-in-js-file/23867 "2020-03-30T10:43:55Z")

</div>

Okay so maybe this is a dumb question, but how to read, for example, msg.topic in .js file, for ( i want to log msg.topic to console)? Done a lot of search on this, and trying reading from some other nodes, but I am a l…

---

## [How to get errors/exceptions while developing custom node?](https://discourse.nodered.org/t/how-to-get-errors-exceptions-while-developing-custom-node/23830)

<div class="topic-metadata">

**Author:** [@tb19-nr](https://discourse.nodered.org/u/tb19-nr)\
**Replies:** 10\
**Last updated:** [30 March 2020 09:18 UTC](https://discourse.nodered.org/t/how-to-get-errors-exceptions-while-developing-custom-node/23830 "2020-03-30T09:18:43Z")

</div>

Hi folks, I struggle to get decent error messages while writing a custom node (searched the forum and internet, not much to find, so I come up with this topic! o) If I enter some garbage lines of code like this: module…

---

## [Isomorphic functions (same in both .html and .js)](https://discourse.nodered.org/t/isomorphic-functions-same-in-both-html-and-js/23704)

<div class="topic-metadata">

**Author:** [@lgrkvst](https://discourse.nodered.org/u/lgrkvst)\
**Replies:** 5\
**Last updated:** [27 March 2020 19:08 UTC](https://discourse.nodered.org/t/isomorphic-functions-same-in-both-html-and-js/23704 "2020-03-27T19:08:56Z")

</div>

Hi community, I'd be so grateful for a pointer or two as I spent the better part of the day trying to solve this: I need to execute an isomorphic function, i.e. both on the server (myNode.js) and the client (myNode.htm…

---

## [Show image on node-red version 0.18.6](https://discourse.nodered.org/t/show-image-on-node-red-version-0-18-6/23711)

<div class="topic-metadata">

**Author:** [@taminhhienmor](https://discourse.nodered.org/u/taminhhienmor)\
**Replies:** 0\
**Last updated:** [27 March 2020 09:04 UTC](https://discourse.nodered.org/t/show-image-on-node-red-version-0-18-6/23711 "2020-03-27T09:04:50Z")

</div>

I was using the previous version node-red (v0.18.6). I want to show image on node as below picture, I am trying to research this cause. I was founded that function RED.comms.subscribe run success on node-red (v0.20.0) bu…

---

## [Asking about automatic message \*parsing\* / construction](https://discourse.nodered.org/t/asking-about-automatic-message-parsing-construction/23493)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 15\
**Last updated:** [23 March 2020 19:49 UTC](https://discourse.nodered.org/t/asking-about-automatic-message-parsing-construction/23493 "2020-03-23T19:49:12Z")

</div>

(Sorry if this isn't exactly the right place, but I think it is just a bit more than general discussion and could be a developmental/Feature request thing.) In light of recent events for me with MQTT, this is a bit of o…

---

## [Debugging NodeJs in Node-RED Docker container](https://discourse.nodered.org/t/debugging-nodejs-in-node-red-docker-container/21370)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 22\
**Last updated:** [23 March 2020 15:42 UTC](https://discourse.nodered.org/t/debugging-nodejs-in-node-red-docker-container/21370 "2020-03-23T15:42:22Z")

</div>

Hi folks, My test system died yesterday, after a few desperate attempts to downgrade NodeJs. At the end I decided to start using Docker containers. And shortly afterwards I was up-and-running again. My compliments to…

---

## [Embedding NodeRed & Creating nodes](https://discourse.nodered.org/t/embedding-nodered-creating-nodes/22940)

<div class="topic-metadata">

**Author:** [@manuel-burato](https://discourse.nodered.org/u/manuel-burato)\
**Replies:** 5\
**Last updated:** [12 March 2020 09:05 UTC](https://discourse.nodered.org/t/embedding-nodered-creating-nodes/22940 "2020-03-12T09:05:31Z")

</div>

Hi folks, thanks for furter reading. I'm tryng to integrate nodered with my already existing typescript@node.js app. I already use express as ws, so, by follow embedding guide (https://nodered.org/docs/user-guide/runtim…

---

## [DropDownList + Data API](https://discourse.nodered.org/t/dropdownlist-data-api/22829)

<div class="topic-metadata">

**Author:** [@taminhhienmor](https://discourse.nodered.org/u/taminhhienmor)\
**Replies:** 10\
**Last updated:** [11 March 2020 21:10 UTC](https://discourse.nodered.org/t/dropdownlist-data-api/22829 "2020-03-11T21:10:02Z")

</div>

I want to get data from google API to Dropdownlist on new node. Can I use AJAX to call request and recieve data to my dropdownlist? If yes, how to I use it. Thank you~

---

## [Validation for editableList](https://discourse.nodered.org/t/validation-for-editablelist/21055)

<div class="topic-metadata">

**Author:** [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Replies:** 3\
**Last updated:** [5 March 2020 19:33 UTC](https://discourse.nodered.org/t/validation-for-editablelist/21055 "2020-03-05T19:33:54Z")

</div>

Developing the ui-state-trail I fell into little problem. typedInput items individually can be validated. But if all items are valid but collection of rules gathered from individual items has to be validated (like all i…

---

## [Node property validation function for date formatting](https://discourse.nodered.org/t/node-property-validation-function-for-date-formatting/20457)

<div class="topic-metadata">

**Author:** [@johnwalicki](https://discourse.nodered.org/u/johnwalicki)\
**Replies:** 6\
**Last updated:** [24 February 2020 22:04 UTC](https://discourse.nodered.org/t/node-property-validation-function-for-date-formatting/20457 "2020-02-24T22:04:47Z")

</div>

I am creating a new Node-RED node that requires a date using a yyyymmdd format. Has anyone created a node that implements a property validation function on date formatting? I want to filter out or rewrite "yyyy-mm-dd" …

---

## [Installing Nodes via Environment Variable in Docker](https://discourse.nodered.org/t/installing-nodes-via-environment-variable-in-docker/22041)

<div class="topic-metadata">

**Author:** [@muruganchandrasekar](https://discourse.nodered.org/u/muruganchandrasekar)\
**Replies:** 2\
**Last updated:** [24 February 2020 06:39 UTC](https://discourse.nodered.org/t/installing-nodes-via-environment-variable-in-docker/22041 "2020-02-24T06:39:21Z")

</div>

I'm going to install a node "node-red-node-email" additionally in node-red using Enviroment Variable instead of using npm " npm install node-red-node-email". I don't find the list of environment variable used for nod-red…

---

## [Creating a node for License Plate Recognition](https://discourse.nodered.org/t/creating-a-node-for-license-plate-recognition/21946)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 8\
**Last updated:** [19 February 2020 19:58 UTC](https://discourse.nodered.org/t/creating-a-node-for-license-plate-recognition/21946 "2020-02-19T19:58:32Z")

</div>

I am using the following service: http://platerecognizer.com And while I successfully created a flow that will use the curl in the exec node, and then the JSON node to read the plates from the image I am just not satisf…

---

## [newNode - no such package available](https://discourse.nodered.org/t/newnode-no-such-package-available/21767)

<div class="topic-metadata">

**Author:** [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Replies:** 4\
**Last updated:** [16 February 2020 10:36 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767 "2020-02-16T10:36:36Z")

</div>

I am using following json to set up a new npm repo and install using pallet . { "name":"Node-RED Custom catalogue", "updated\_at": "2016-08-05T18:37:50.673Z", "modules": \[ { "description": "Simply call etherium co…

---

## [Introducing typed inputs in my first custom node ever](https://discourse.nodered.org/t/introducing-typed-inputs-in-my-first-custom-node-ever/21658)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [14 February 2020 16:57 UTC](https://discourse.nodered.org/t/introducing-typed-inputs-in-my-first-custom-node-ever/21658 "2020-02-14T16:57:57Z")

</div>

Hi folks, A couple of years ago I developed my first custom node (node-red-contrib-msg-resend), which a couple of numeric inputs on the config screen: Both numeric values can be set dynamically via the input message …

---

## [New: Template Node Package for custom node development](https://discourse.nodered.org/t/new-template-node-package-for-custom-node-development/13506)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 4\
**Last updated:** [14 February 2020 00:01 UTC](https://discourse.nodered.org/t/new-template-node-package-for-custom-node-development/13506 "2020-02-14T00:01:08Z")

</div>

Hi all, another utility release. This time a template for node development in case anyone is interested. This is a full package with all of the basic parts in place and ready for you to tailor to your own design. It fo…

---

## [Backward-compatible done()](https://discourse.nodered.org/t/backward-compatible-done/21536)

<div class="topic-metadata">

**Author:** [@kuema](https://discourse.nodered.org/u/kuema)\
**Replies:** 6\
**Last updated:** [11 February 2020 10:18 UTC](https://discourse.nodered.org/t/backward-compatible-done/21536 "2020-02-11T10:18:53Z")

</div>

I am in the process of making our nodes implement the new on('input') signature of Node-RED v1.0. I also noticed the error handling is now done via done(err) instead of node.error(err, msg). If there are multiple return…

---

## [Add YouTube capabilites to Google node](https://discourse.nodered.org/t/add-youtube-capabilites-to-google-node/21208)

<div class="topic-metadata">

**Author:** [@JbIPS](https://discourse.nodered.org/u/JbIPS)\
**Replies:** 3\
**Last updated:** [3 February 2020 22:40 UTC](https://discourse.nodered.org/t/add-youtube-capabilites-to-google-node/21208 "2020-02-03T22:40:09Z")

</div>

Hi, I'm trying to fetch the metadata of a YouTube video with their APIs. I'll look at the Google node and thought it would be a good addition. First question: is it? Or should I start from scratch? Second question: ho…

---

## [Unable to Use Node Properties in Node Runtime](https://discourse.nodered.org/t/unable-to-use-node-properties-in-node-runtime/21152)

<div class="topic-metadata">

**Author:** [@sesenlik](https://discourse.nodered.org/u/sesenlik)\
**Replies:** 3\
**Last updated:** [2 February 2020 07:39 UTC](https://discourse.nodered.org/t/unable-to-use-node-properties-in-node-runtime/21152 "2020-02-02T07:39:48Z")

</div>

Hello everyone, I am trying to build my own node following docs. I want to add node properties like described in Node Properties. I am able to add some extra properties beside Name property but when I try to send these…

---

## [Multiple and dynamic configuration nodes](https://discourse.nodered.org/t/multiple-and-dynamic-configuration-nodes/20794)

<div class="topic-metadata">

**Author:** [@ng-galien](https://discourse.nodered.org/u/ng-galien)\
**Replies:** 0\
**Last updated:** [24 January 2020 01:26 UTC](https://discourse.nodered.org/t/multiple-and-dynamic-configuration-nodes/20794 "2020-01-24T01:26:09Z")

</div>

Hello, I'm creating some nodes for home automation. I had created some nodes for inputs/outputs control. They all have a configuration node. RED.nodes.registerType('digital-output',{ category: 'upyHome', …

---

## [Is it possible to add a dependency to a node.js version?](https://discourse.nodered.org/t/is-it-possible-to-add-a-dependency-to-a-node-js-version/20190)

<div class="topic-metadata">

**Author:** [@Achronite](https://discourse.nodered.org/u/Achronite)\
**Replies:** 4\
**Last updated:** [17 January 2020 19:30 UTC](https://discourse.nodered.org/t/is-it-possible-to-add-a-dependency-to-a-node-js-version/20190 "2020-01-17T19:30:11Z")

</div>

My upgraded node-red module requires node v10+ to be able to execute N-API threadsafe functions. Is there a way that this can be specified in the package.json file to prevent users without v10+ performing the upgrade (f…

---

## [Accessing Node Settings](https://discourse.nodered.org/t/accessing-node-settings/20418)

<div class="topic-metadata">

**Author:** [@iOnline247](https://discourse.nodered.org/u/iOnline247)\
**Replies:** 1\
**Last updated:** [16 January 2020 09:15 UTC](https://discourse.nodered.org/t/accessing-node-settings/20418 "2020-01-16T09:15:25Z")

</div>

I finally figured out how to send a config flag to the node instance of a plugin. const { AWS\_ACCESS\_KEY\_ID, AWS\_REGION, AMAZON\_REGION, AWS\_SECRET\_ACCESS\_KEY } = process.env; module.exports = function(RED) { …

---

## [Are credentials set?](https://discourse.nodered.org/t/are-credentials-set/20294)

<div class="topic-metadata">

**Author:** [@iOnline247](https://discourse.nodered.org/u/iOnline247)\
**Replies:** 1\
**Last updated:** [14 January 2020 04:35 UTC](https://discourse.nodered.org/t/are-credentials-set/20294 "2020-01-14T04:35:44Z")

</div>

I'm trying to figure out if this is feasible. Ideally, I'd like to set the HTML elements to be readonly (and style with CSS, so it's apparent), if the credentials are supplied via environment variables. I am able to set…

---

## [Unauthorized when accessing custom admin endpoint](https://discourse.nodered.org/t/unauthorized-when-accessing-custom-admin-endpoint/20201)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [12 January 2020 07:32 UTC](https://discourse.nodered.org/t/unauthorized-when-accessing-custom-admin-endpoint/20201 "2020-01-12T07:32:19Z")

</div>

Hi folks, Paul (@Paul-Reed) reported an issue about my new node-red-contrib-xterm node: Would really to have it solved, since that is the last 'known' issue before I can publish my first version on NPM. But I'm stuc…

---

## [Code review for newish plugin](https://discourse.nodered.org/t/code-review-for-newish-plugin/19990)

<div class="topic-metadata">

**Author:** [@iOnline247](https://discourse.nodered.org/u/iOnline247)\
**Replies:** 6\
**Last updated:** [11 January 2020 00:49 UTC](https://discourse.nodered.org/t/code-review-for-newish-plugin/19990 "2020-01-11T00:49:04Z")

</div>

I'm close to publishing a new plugin, but would like a code review for common mistakes, since this is my first one. Please take a look and provide feedback. https://github.com/iOnline247/node-red-contrib-aws-any Thank…

---

## [Keep session on windows file server](https://discourse.nodered.org/t/keep-session-on-windows-file-server/19727)

<div class="topic-metadata">

**Author:** [@NetHans](https://discourse.nodered.org/u/NetHans)\
**Replies:** 3\
**Last updated:** [2 January 2020 13:50 UTC](https://discourse.nodered.org/t/keep-session-on-windows-file-server/19727 "2020-01-02T13:50:16Z")

</div>

Hi there, I have written my own node, which should copy files into several directories. In terms of function, there are no problems. However, the file system admin reports that hundreds of login and logoff events per se…

---

## [Developer workflow for debugging plugins](https://discourse.nodered.org/t/developer-workflow-for-debugging-plugins/19803)

<div class="topic-metadata">

**Author:** [@iOnline247](https://discourse.nodered.org/u/iOnline247)\
**Replies:** 7\
**Last updated:** [2 January 2020 13:16 UTC](https://discourse.nodered.org/t/developer-workflow-for-debugging-plugins/19803 "2020-01-02T13:16:08Z")

</div>

I've set up Node-RED with this flag: --userDir 'C:\\Users\\mbramer\\Documents\\NodeRED\\config' I'm looking to hit debug breakpoints within plugin code, so I can dev. I did an npm install '\<local\_file\_path\>' in the director…

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

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