# \#module

**URL:** https://discourse.nodered.org/tag/module/105.md

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

---

## [Bug in function node? pdf-lib](https://discourse.nodered.org/t/bug-in-function-node-pdf-lib/99082)

<div class="topic-metadata">

**Author:** [@christopher-lambe](https://discourse.nodered.org/u/christopher-lambe)\
**Replies:** 8\
**Last updated:** [20 September 2025 22:53 UTC](https://discourse.nodered.org/t/bug-in-function-node-pdf-lib/99082 "2025-09-20T22:53:17Z")

</div>

I have a function node with pdf-lib to extract the first page of a PDF file. The same code works great in VS Code / cmd prompt with Node.js v22.12 but produces this strange error in the Node-Red function node. "TypeErr…

---

## [Response handling from External NPM Module](https://discourse.nodered.org/t/response-handling-from-external-npm-module/87795)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 3\
**Last updated:** [7 May 2024 20:40 UTC](https://discourse.nodered.org/t/response-handling-from-external-npm-module/87795 "2024-05-07T20:40:04Z")

</div>

In a Function Node, I added this NPM module in the setup tab: It's working with the following function code, adapted from the module's readme: // Send "UP" Heartbeat to Prometheus endpoint using Prometheus-Remote-Wri…

---

## [Subflow 2 Module helper flow](https://discourse.nodered.org/t/subflow-2-module-helper-flow/82763)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 8\
**Last updated:** [10 April 2024 11:14 UTC](https://discourse.nodered.org/t/subflow-2-module-helper-flow/82763 "2024-04-10T11:14:11Z")

</div>

Hey y'all In the last month, I have seen a slight increase in the need to package subflows as modules, and the guide to do that is here : Packaging a Subflow as a module : Node-RED. This is currently a manual affair. …

---

## [Removing a module](https://discourse.nodered.org/t/removing-a-module/86204)

<div class="topic-metadata">

**Author:** [@bithead](https://discourse.nodered.org/u/bithead)\
**Replies:** 3\
**Last updated:** [7 March 2024 00:02 UTC](https://discourse.nodered.org/t/removing-a-module/86204 "2024-03-07T00:02:12Z")

</div>

I'm trying to remove a module from the node-red database. The module in question is ays-agent. I have a new module that better follows naming convention at @bithead/node-red-ays-server. Originally, I thought my module w…

---

## [Cant re-install the midi module](https://discourse.nodered.org/t/cant-re-install-the-midi-module/84340)

<div class="topic-metadata">

**Author:** [@AmirGhorbani](https://discourse.nodered.org/u/AmirGhorbani)\
**Replies:** 6\
**Last updated:** [6 January 2024 20:35 UTC](https://discourse.nodered.org/t/cant-re-install-the-midi-module/84340 "2024-01-06T20:35:15Z")

</div>

hello i was use the node red midi for send and receive the midi message before but now i cant install the mid module :slight\_smile: i dont know what is actually module : 1- node-red-contrib-midi-windows (node) - Node-…
