# Installing a module fails to install dependencies?

**URL:** https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059
**Category:** Developing Nodes
**Created:** [18 March 2022 22:12 UTC](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059 "2022-03-18T22:12:31Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![tve](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tve/32/59475_2.png) [@tve](https://discourse.nodered.org/u/tve)
#### Post date: [10 April 2022 22:50 UTC](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059/12 "2022-04-10T22:50:57Z")

</div>

As a follow-up, the current state I'm facing is:

- Flexdash needs 3 packages, prob 4:
  - node-red-flexdash: core of flexdash, primarily configuration nodes
  - node-red-flexdash-plugin: flexdash plugin due to bug described in [How do Node-RED plugins work?](https://discourse.nodered.org/t/how-do-node-red-plugins-work/60890) (can't reliably have a plugin and a node in the same pkg)
  - node-red-fd-corewidgets: core set of widget nodes, really separable from the core of flexdash as someone could install a different set of widgets
  - node-red-flexdash-sidebar: sidebar for FlexDash, which perhaps should/could be integrated into the node-red-flexdash package, or perhaps not

- While the instructions can tell someone to "npm install node-red-fd-corewidgets" and get everything else pulled in as dependencies, due to the bug described here this is not possible through the palette manager: the dependencies get pulled in at the npm level but not their nodes and thus users end up with missing nodes. Instead users have to select all 3 or 4 packages for install manually in the palette manager.
- In order to allow the manual install of all the dependencies in the palette manager, I have to publish all these packages in the flow library, which due to the fact that it can't be automated is both painful and error prone (see [Script to trigger flow library update after npm publish?](https://discourse.nodered.org/t/script-to-trigger-flow-library-update-after-npm-publish/61075))

If I'm missing a solution to all this I'd be grateful to hear!

Edit: Ticket about the failure to install nodes in dependencies: [When installing packages using palette manager the nodes of dependencies are not discovered · Issue #3529 · node-red/node-red · GitHub](https://github.com/node-red/node-red/issues/3529)

---

_[View the full topic](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059)._
