# Home Assistant OS & Node-Red / Dashboard 2.0 does not install (error)

**URL:** <https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354>\
**Category:** Dashboard\
**Tags:** home-assistant, dashboard-2\
**Created:** [9 February 2024 09:25 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354 "2024-02-09T09:25:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![theTim](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@theTim](https://discourse.nodered.org/u/theTim)\
**Post date:** [9 February 2024 09:25 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354/1 "2024-02-09T09:25:04Z")

</div>

Using Home Assistant OS & Node-Red on a Pi4

Receiving error on the '_@flowfuse/node-red-dashboard_' install for the 2.0 that I (very limited knowledge of 'nux navigation) can not resolve through search here and on HA sites.

I have installed numerous other packages without such difficulty, but this one has me at a loss. Am thinking it is solely a path issue being under the HA umbrella, and hope it is a modification that I can do.

Very interested in converting my existing dashboard nodes over to the new version!

> Install : @flowfuse/node-red-dashboard 1.0.2  
> npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @flowfuse/node-red-dashboard@1.0.2  
> [err] npm  
> [err] WARN config  
> [err] production Use `--omit=dev` instead.  
> [err] npm ERR! code ENOTEMPTY  
> [err] npm ERR! syscall rename  
> [err] npm ERR! path /config/node\_modules/magic-string  
> [err] npm ERR! dest /config/node\_modules/.magic-string-QF6ToVdy  
> [err] npm ERR! errno -39  
> [err] npm ERR!  
> [err] ENOTEMPTY: directory not empty, rename '/config/node\_modules/magic-string' -\> '/config/node\_modules/.magic-string-QF6ToVdy'  
> [err]  
> [err] npm ERR! A complete log of this run can be found in: /root/.npm/\_logs/2024-02-09T02\_58\_45\_657Z-debug-0.log  
> rc=217

---

<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:** [9 February 2024 09:51 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354/2 "2024-02-09T09:51:58Z")

</div>

> [@theTim](#):
>
> npm ERR! dest /config/node\_modules/.magic-string-QF6ToVdy

This indicates npm failed to complete (i.e. was interrupted) at some point and left some old directory laying around.

Since HA runs Node-RED in a container, you will need to get into that container and delete that directory \*1.

Then you should have zero issues installing dashboard.

I would be surprised if you don't see this error for every future node install attempt (not just dashboard)

  

\*1 _You may have to ask on the HA forums how to get into the container_

---

<div class="post-metadata">

**Author:** ![theTim](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@theTim](https://discourse.nodered.org/u/theTim)\
**Post date:** [9 February 2024 10:48 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354/3 "2024-02-09T10:48:53Z")

</div>

Yes, you are absolutely correct- I am now aware that other nodes are not installing now.

This is a very recent development, as I added a node package last week without any such problem.

Thought it may be because of the new release of the dashboard and HA not playing nice.

Will research the container issue and try to resolve- the terminology of containers and accessing them is lost on me.

Thanks!

---

<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:** [9 February 2024 10:51 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354/4 "2024-02-09T10:51:49Z")

</div>

> [@theTim](#):
>
> the terminology of containers and accessing them is lost on me.

As it is on lots of folk (search the forum for posts mentioning `docker`).

Fortunately, I believe it is possible to unshackle yourself and install Node-RED directly (and still have HA integration by installing their nodes from the palette)

---

<div class="post-metadata">

**Author:** ![theTim](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@theTim](https://discourse.nodered.org/u/theTim)\
**Post date:** [4 March 2024 01:49 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354/5 "2024-03-04T01:49:40Z")

</div>

Returned to advise that as of Dashboard 2.0 v1.3.0 does work in HAOS now!

---

<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:** [18 March 2024 01:49 UTC](https://discourse.nodered.org/t/home-assistant-os-node-red-dashboard-2-0-does-not-install-error/85354/6 "2024-03-18T01:49:56Z")

</div>

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