# Best guess attempt at loading missing nodes

**URL:** <https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437>\
**Category:** General\
**Created:** [10 May 2022 08:38 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437 "2022-05-10T08:38:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [10 May 2022 08:38 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437/1 "2022-05-10T08:38:30Z")

</div>

Has anyone had a go at writing a script to automate installing missing nodes for an imported flow

I've just been importing a big flow with lots of missing nodes and it was a right pain in the fingers to go thru installing them one by one on my laptop with just a trackpad mouse ☹

I'm thinking that if all I'm doing is searching for the name highlighted in the missing node and then installing it then that's a job for a computer program 🙂

I realise that an automatic one would/could get a few wrong but I'd be happy for it to have the first stab

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 May 2022 08:53 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437/2 "2022-05-10T08:53:29Z")

</div>

You could try scraping results from the flow inspector : [Library - Node-RED](https://flows.nodered.org/inspect)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [10 May 2022 08:55 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437/3 "2022-05-10T08:55:39Z")

</div>

Sorry - let me be more explicit

Has anyone had a go 🙂

This wasn't aimed at you devs because I'm sure you've got something on your roadmap - this is in case someone has knocked something up for their own use

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 May 2022 09:03 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437/4 "2022-05-10T09:03:57Z")

</div>

Simon, not sure if you clicked that link (since its title looks like its just a link to the flows library) but it is something different (just checking)

And no, I've not seen any attempts to automate it sorry.

That said, you could copy the module names and build an NPM command from the inspectors results (by hand) but at least they would all install in one go?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 May 2022 09:32 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437/5 "2022-05-10T09:32:16Z")

</div>

PS, happy cake day 🎂🍰

---

<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:** [9 July 2022 09:34 UTC](https://discourse.nodered.org/t/best-guess-attempt-at-loading-missing-nodes/62437/7 "2022-07-09T09:34:08Z")

</div>

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