routes/meters.js already imported lib/mqtt.js and lib/history.js in an earlier uncommitted change; a prior commit staged the whole meters.js file (picking up those imports) without staging the modules themselves, crashing production with ERR_MODULE_NOT_FOUND. Completing the commit: package.json (mqtt dependency), index.js (wires connectMqtt/startScheduler, both already error-guarded if the broker isn't reachable), and the three lib files themselves. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| package.json | ||