# Issue with Module Dependencies in Node-RED within a Monorepo (Turborepo)

**URL:** <https://discourse.nodered.org/t/issue-with-module-dependencies-in-node-red-within-a-monorepo-turborepo/84878>\
**Category:** General\
**Created:** [24 January 2024 13:22 UTC](https://discourse.nodered.org/t/issue-with-module-dependencies-in-node-red-within-a-monorepo-turborepo/84878 "2024-01-24T13:22:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wstam88](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wstam88/32/87513_2.png) [@wstam88](https://discourse.nodered.org/u/wstam88)\
**Post date:** [24 January 2024 13:22 UTC](https://discourse.nodered.org/t/issue-with-module-dependencies-in-node-red-within-a-monorepo-turborepo/84878/1 "2024-01-24T13:22:43Z")

</div>

Hi everyone,

I'm currently working with Node-RED inside a monorepo setup using Turborepo, and while the basic setup functions smoothly, I'm encountering an issue with module dependencies.

Every time I add a new module dependency through a function node in Node-RED, the module installs correctly. However, I've noticed that after this installation, all other modules from different packages within the same monorepo seem to disappear. To resolve this, I have to manually run a `yarn install` each time I add a module to a function node.

Has anyone else experienced this issue or have any tips on how to streamline this process? I'm looking for a solution that can maintain the integrity of my monorepo's module dependencies without the need for manual intervention after each module addition in Node-RED.

Any insights or suggestions would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 April 2024 13:22 UTC](https://discourse.nodered.org/t/issue-with-module-dependencies-in-node-red-within-a-monorepo-turborepo/84878/2 "2024-04-23T13:22:57Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
