/usr/local/lib/node_modules/homebridge/bin/homebridge
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Function.Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/client.ts:3:1)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
I get this error when I load up or restart my homebridge server:
==================== [12/9/2023, 11:38:35 AM] ERROR LOADING PLUGIN homebridge-flair: [12/9/2023, 11:38:35 AM] Error: Cannot find module 'moment' Require stack:
if I npm -v moment, I get: 8.19.2
Any ideas what can fix this issue?