I can't remove or reinstall 
### Analysis

Getting error to update or remove.

### Expected Behavior

Should remove or update or install without issues.

### Steps To Reproduce

Try update or remove or install any plugin

### Logs

```markdown
sudo npm uninstall -g homebridge homebridge-config-ui-x
node:internal/modules/cjs/loader:933
  const err = new Error(message);
              ^

Error: Cannot find module 'code-point-at'
Require stack:
- /usr/lib/node_modules/npm/node_modules/wide-align/node_modules/string-width/index.js
- /usr/lib/node_modules/npm/node_modules/wide-align/align.js
- /usr/lib/node_modules/npm/node_modules/gauge/lib/render-template.js
- /usr/lib/node_modules/npm/node_modules/gauge/lib/plumbing.js
- /usr/lib/node_modules/npm/node_modules/gauge/lib/index.js
- /usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js
- /usr/lib/node_modules/npm/lib/utils/log-shim.js
- /usr/lib/node_modules/npm/lib/utils/exit-handler.js
- /usr/lib/node_modules/npm/lib/cli.js
- /usr/lib/node_modules/npm/bin/npm-cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/wide-align/node_modules/string-width/index.js:3:19)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/node_modules/npm/node_modules/wide-align/node_modules/string-width/index.js',
    '/usr/lib/node_modules/npm/node_modules/wide-align/align.js',
    '/usr/lib/node_modules/npm/node_modules/gauge/lib/render-template.js',
    '/usr/lib/node_modules/npm/node_modules/gauge/lib/plumbing.js',
    '/usr/lib/node_modules/npm/node_modules/gauge/lib/index.js',
    '/usr/lib/node_modules/npm/node_modules/npmlog/lib/log.js',
    '/usr/lib/node_modules/npm/lib/utils/log-shim.js',
    '/usr/lib/node_modules/npm/lib/utils/exit-handler.js',
    '/usr/lib/node_modules/npm/lib/cli.js',
    '/usr/lib/node_modules/npm/bin/npm-cli.js'
  ]
}

Node.js v17.6.0
```


### Configuration

```json
Is a simple config.json.
```


### Environment

- OS: Ubuntu 20.04.3
- Software: 1.4.0
- Node: v17.6.0
- npm: (same error)


### Process Supervisor

hb-service

### Additional Context

I had tried to update, but I was getting similar issues. So, I decided to remove everything and reinstall (including node and npm), but nothing that I tried worked. If anyone can help would be fantastic!

Thanks.