[warn] Uninstall of module node-red-node-email failed

How can I uninstall and get rid of the error:

14 Aug 19:25:41 - [info] Uninstalling module: node-red-node-email
14 Aug 19:25:42 - [warn] Uninstall of module node-red-node-email failed:
14 Aug 19:25:42 - [warn] ------------------------------------------
14 Aug 19:25:42 - [warn] npm ERR! code ENOTEMPTY
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-08-14T17_25_41_412Z-debug-0.log
14 Aug 19:25:42 - [warn] ------------------------------------------
14 Aug 19:25:42 - [error] Error: Uninstall failed