Cannot upgrade Node-Red_email node to latest version

Currently on version 1.15.1 of node-red-node-email. Trying to upgrade using the manage pallet to 1.18.2 but it fails. Here is the error log:
15 Dec 20:49:57 - [info] Upgrading module: node-red-node-email to version: 1.18.2
15 Dec 20:50:03 - [warn] Installation of module node-red-node-email failed:
15 Dec 20:50:03 - [warn] ------------------------------------------
15 Dec 20:50:03 - [warn] npm WARN config production Use --omit=dev instead.
npm ERR! syscall rename
npm ERR! path /config/node-red/node_modules/node-red-node-email
npm ERR! dest /config/node-red/node_modules/.node-red-node-email-9kimBKpy
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/config/node-red/node_modules/node-red-node-email' -> '/config/node-red/node_modules/.node-red-node-email-9kimBKpy'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-16T02_49_59_422Z-debug-0.log
15 Dec 20:50:03 - [warn] ------------------------------------------
Error: Install failed
at /opt/node_modules/@node-red/registry/lib/installer.js:285:25
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
15 Dec 20:50:03 - [error] Error: Install failed

Using Node-Red as an addon (Current version: 14.0.0) in Home Assistant. Any help is appreciated.

Delete that folder and they again. The one with the _9kim... On the end.

Thank you. That took care of it.

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