Homebridge throws an error trying to initialise the plugin
[3/26/2023, 3:49:04 AM] ERROR LOADING PLUGIN homebridge-hubitat-tonesto7:
[3/26/2023, 3:49:04 AM] /homebridge/node_modules/homebridge-hubitat-tonesto7/node_modules/axios/index.js:1
import axios from './lib/axios.js';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at Module._compile (internal/modules/cjs/loader.js:892:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/homebridge/node_modules/homebridge-hubitat-tonesto7/src/HE_Client.js:2:13)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
[3/26/2023, 3:49:04 AM] ====================
I recently updated my plugins and now it doesn't load on my Raspberry Pi. I think I was on plugin versions around 2.5 when it last worked.
About Your Setup
I'm running the Homebridge docker image on my Pi
Expected Behavior
The plugin should load correctly in Homebridge
Current Behavior
Homebridge throws an error trying to initialise the plugin