# Cant update or install palettes - npm ERR!

**URL:** <https://discourse.nodered.org/t/cant-update-or-install-palettes-npm-err/72249>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [15 December 2022 12:03 UTC](https://discourse.nodered.org/t/cant-update-or-install-palettes-npm-err/72249 "2022-12-15T12:03:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stenkarlsen](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stenkarlsen/32/72628_2.png) [@stenkarlsen](https://discourse.nodered.org/u/stenkarlsen)\
**Post date:** [15 December 2022 12:03 UTC](https://discourse.nodered.org/t/cant-update-or-install-palettes-npm-err/72249/1 "2022-12-15T12:03:39Z")

</div>

NR 3.0.2 running on Home assistant docker.

For some reason I no longer am able to update or install any palettes. I get a error regarding @wz2b/node-red-influxdb-line-protocol. As far as I know, I never installed this, but i seem to be missing it:

No matter what I try to do i get this error:

```auto
-----------------------------------------------------------

2022-12-15T11:58:01.124Z Install : node-red-contrib-home-assistant-websocket 0.47.1

2022-12-15T11:58:01.137Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-home-assistant-websocket@0.47.1

2022-12-15T11:58:01.529Z [err] npm

2022-12-15T11:58:01.529Z [err] WARN config production Use `--omit=dev` instead.

2022-12-15T11:58:03.478Z [err] npm

2022-12-15T11:58:03.478Z [err] ERR!

2022-12-15T11:58:03.479Z [err] code ENOENT

2022-12-15T11:58:03.479Z [err] npm ERR! syscall open

2022-12-15T11:58:03.479Z [err] npm ERR!

2022-12-15T11:58:03.479Z [err] path /config/node-red/node_modules/@wz2b/node-red-influxdb-line-protocol/package.json

2022-12-15T11:58:03.480Z [err] npm ERR! errno -2

2022-12-15T11:58:03.482Z [err] npm ERR! enoent ENOENT: no such file or directory, open '/config/node-red/node_modules/@wz2b/node-red-influxdb-line-protocol/package.json'

2022-12-15T11:58:03.482Z [err] npm

2022-12-15T11:58:03.482Z [err] ERR! enoent This is related to npm not being able to find a file.

2022-12-15T11:58:03.482Z [err] npm ERR! enoent

2022-12-15T11:58:03.483Z [err]

2022-12-15T11:58:03.483Z [err] npm ERR!

2022-12-15T11:58:03.484Z [err] A complete log of this run can be found in:

2022-12-15T11:58:03.484Z [err] npm ERR!

2022-12-15T11:58:03.484Z [err] /root/.npm/_logs/2022-12-15T11_58_01_498Z-debug-0.log

2022-12-15T11:58:03.490Z rc=254

```

I have tried running the command inside the docker it self, also with --omit=dev, but this does not change anything. Please, can anyone help me in a direction?

---

<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:** [15 December 2022 13:36 UTC](https://discourse.nodered.org/t/cant-update-or-install-palettes-npm-err/72249/2 "2022-12-15T13:36:35Z")

</div>

Check in Manage Palette to see if that node is installed, and if it is then remove it.

---

<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:** [13 February 2023 13:37 UTC](https://discourse.nodered.org/t/cant-update-or-install-palettes-npm-err/72249/3 "2023-02-13T13:37:18Z")

</div>

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