# Export with dependant

**URL:** <https://discourse.nodered.org/t/export-with-dependant/86797>\
**Category:** General\
**Created:** [27 March 2024 07:59 UTC](https://discourse.nodered.org/t/export-with-dependant/86797 "2024-03-27T07:59:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [27 March 2024 07:59 UTC](https://discourse.nodered.org/t/export-with-dependant/86797/1 "2024-03-27T07:59:44Z")

</div>

Hello veteran,

my flow include node-red-node-mysql, may i export the flow along with the dependant? as the user may not know how to install node-red-node-mysql.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 March 2024 08:27 UTC](https://discourse.nodered.org/t/export-with-dependant/86797/2 "2024-03-27T08:27:44Z")

</div>

No, the user must install the node.

---

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [27 March 2024 08:32 UTC](https://discourse.nodered.org/t/export-with-dependant/86797/3 "2024-03-27T08:32:21Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/7/67211a6c221834027f49bfc9b3c991dd3798c78a.jpeg)

tks for the answer, why not copy these two to install the node?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 March 2024 08:50 UTC](https://discourse.nodered.org/t/export-with-dependant/86797/4 "2024-03-27T08:50:00Z")

</div>

It is not that simple. Also package.json and package-lock.json must be updated, but in particular some nodes include code that has to be compiled. In that case the generated code will depend on the hardware architecture and OS and version that it is to run on and on the version of nodejs that is installed there.

---

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [27 March 2024 08:53 UTC](https://discourse.nodered.org/t/export-with-dependant/86797/5 "2024-03-27T08:53:55Z")

</div>

tks Colin for the help. you are very nice and excellent at work.

---

<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:** [10 April 2024 08:53 UTC](https://discourse.nodered.org/t/export-with-dependant/86797/6 "2024-04-10T08:53:59Z")

</div>

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