# Error updating nodes.

**URL:** <https://discourse.nodered.org/t/error-updating-nodes/69408>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [21 October 2022 23:52 UTC](https://discourse.nodered.org/t/error-updating-nodes/69408 "2022-10-21T23:52:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leojcs2021](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leojcs2021/32/69557_2.png) [@leojcs2021](https://discourse.nodered.org/u/leojcs2021)\
**Post date:** [21 October 2022 23:52 UTC](https://discourse.nodered.org/t/error-updating-nodes/69408/1 "2022-10-21T23:52:59Z")

</div>

How to go about fixing this problem, I can't update my nodes?

I have node-red integrated into my home assistant!

I'll put the error screen that appears in the log.

> * * *
> 
> 2022-10-21T18:37:12.188Z Install : node-red-contrib-home-assistant-websocket 0.46.1
> 
> 2022-10-21T18:37:13.296Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-home-assistant-websocket@0.46.1  
> 2022-10-21T18:37:21.167Z [err] npm  
> 2022-10-21T18:37:21.172Z [err]  
> 2022-10-21T18:37:21.172Z [err] WARN  
> 2022-10-21T18:37:21.173Z [err]  
> 2022-10-21T18:37:21.173Z [err] config  
> 2022-10-21T18:37:21.174Z [err] production Use `--omit=dev` instead.  
> 2022-10-21T18:37:41.593Z [err] npm  
> 2022-10-21T18:37:41.594Z [err] ERR! code ENOTEMPTY  
> 2022-10-21T18:37:41.595Z [err] npm ERR!  
> 2022-10-21T18:37:41.596Z [err] syscall rename  
> 2022-10-21T18:37:41.596Z [err] npm ERR! path /config/node-red/node\_modules/firebase  
> 2022-10-21T18:37:41.596Z [err] npm ERR! dest /config/node-red/node\_modules/.firebase-NWDZ9oac  
> 2022-10-21T18:37:41.598Z [err] npm ERR! errno  
> 2022-10-21T18:37:41.598Z [err] -39  
> 2022-10-21T18:37:41.606Z [err] npm ERR! ENOTEMPTY: directory not empty, rename '/config/node-red/node\_modules/firebase' -\> '/config/node-red/node\_modules/.firebase-NWDZ9oac'  
> 2022-10-21T18:37:41.615Z [err]  
> 2022-10-21T18:37:41.616Z [err] npm ERR! A complete log of this run can be found in:  
> 2022-10-21T18:37:41.616Z [err] npm ERR! /root/.npm/\_logs/2022-10-21T18\_37\_20\_829Z-debug-0.log  
> 2022-10-21T18:37:41.671Z rc=217

---

<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:** [22 October 2022 07:23 UTC](https://discourse.nodered.org/t/error-updating-nodes/69408/2 "2022-10-22T07:23:06Z")

</div>

> [@leojcs2021](#):
>
> npm ERR! dest /config/node-red/node\_modules/.firebase-NWDZ9oac

This is an npm issue that has arisen occasionally recently. Delete that folder and try again. If you are using the node red plugin in HA then that folder might be inside the node red container, in which case you will have to work out where that is. If you can't find it then you might have to ask on an HA forum.

---

<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:** [21 December 2022 07:23 UTC](https://discourse.nodered.org/t/error-updating-nodes/69408/3 "2022-12-21T07:23:33Z")

</div>

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