# An error occurred while installing node-red on Synology NAS

**URL:** <https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887>\
**Category:** General\
**Created:** [20 May 2022 13:46 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887 "2022-05-20T13:46:00Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hawketyan](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Post date:** [20 May 2022 13:46 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/1 "2022-05-20T13:46:00Z")

</div>

How to solve this error ?

npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size

 ![1653053114829](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/2/52797ebd04600e325909cb8efcd143fb336499d1.jpeg)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [20 May 2022 14:27 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/2 "2022-05-20T14:27:22Z")

</div>

That isn't an error, it is a warning. Does something not work?

---

<div class="post-metadata">

**Author:** ![Hawketyan](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Post date:** [20 May 2022 14:56 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/3 "2022-05-20T14:56:38Z")

</div>

OK. I found my mistake.  
Seems to be a permissions issue  
I gave the command "node-red" "node-red-start" nothing worked  
Finally gave the command "sudo node-red"  
node-red started

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [20 May 2022 15:33 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/4 "2022-05-20T15:33:55Z")

</div>

> [@Hawketyan](#):
>
> Finally gave the command "sudo node-red"

That is probably the worst way to start node-red. What operating system is the NAS running on?

---

<div class="post-metadata">

**Author:** ![Hawketyan](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Post date:** [20 May 2022 16:42 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/5 "2022-05-20T16:42:51Z")

</div>

Synology DS118

how can i check the operating system?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [20 May 2022 16:46 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/6 "2022-05-20T16:46:38Z")

</div>

The Synology NAS's run a custom version of Linux. with a limited shell for command line access.

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [20 May 2022 16:48 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/7 "2022-05-20T16:48:34Z")

</div>

Thank you @TotallyInformation!  
Looks like the question should be:  
"How do I install node-red on a Synology NAS?"

---

<div class="post-metadata">

**Author:** ![Hawketyan](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Post date:** [20 May 2022 16:52 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/8 "2022-05-20T16:52:14Z")

</div>

yes.  
but i have another Synlogy NAS DS418-play is working good.  
I Don;t know this DS118 no goot to install.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [20 May 2022 16:57 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/9 "2022-05-20T16:57:30Z")

</div>

Yes, and I've done that in the past but not for a very long time. The Synology NAS's are often memory bound and loading other services can really make performance crawl. Though maybe the newer devices are better. Mine has a Celeron and I upgraded the RAM but with 3TB of data and handling a bunch of both in and outbound backups, that is more than enough on my poor old NAS. 😸

The Synology lets you install node.js from its GUI. So that takes care of that. But the command line is quite limited and you might not have any choice but to run as root. Also, it doesn't have a modern `systemd` service so you will need to look up legacy ways to get node-red running. The Synology forum is pretty good as is the Reddit forum.

The DS118 only has 1GB of RAM so if you have a lot of files on there, you will likely struggle with performance if you try to run other services.

---

<div class="post-metadata">

**Author:** ![Hawketyan](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Post date:** [20 May 2022 17:03 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/10 "2022-05-20T17:03:17Z")

</div>

this DS-118 only to run node-red.  
to do KNX logic op

for cost reasons DS-118 + 240GB SSD = NT$ 6,000  
Pi 4 NT$ 8,000

---

<div class="post-metadata">

**Author:** ![Hawketyan](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Post date:** [20 May 2022 17:08 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/11 "2022-05-20T17:08:48Z")

</div>

This is probably the biggest trouble.  
node-red is installed in the root folder.  
Only root can start..  
Is there a good way to direct node-red /pm2 /.. to be installed in the Homes folder?  
 ![1653065793565](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/7/076342ef3c039ee821cfc4138d43dc48cd8b77d6.jpeg)

![1653065839668](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/155eb0b3299b184978712cbe50f7a8e5085a7539.jpeg)

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [20 May 2022 18:25 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/12 "2022-05-20T18:25:42Z")

</div>

node-red on a synology works great as a docker container.

After using a synology dsm for a long time, I would NOT install a thing which is not a synology-package (community packages included)... you will have a hard time every new patch of the syno-OS is released.

---

<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:** [3 June 2022 18:26 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887/13 "2022-06-03T18:26:33Z")

</div>

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