huangyq23 / anova-oven-forwarder

Collect data from Anova Precision Oven
ISC License
28 stars 4 forks source link

Unable to run locally (might be a windows thing?) #4

Closed daniel-simpson closed 9 months ago

daniel-simpson commented 1 year ago

On a fresh npm install on windows, I get an issue where a module isn't available:

node:internal/modules/cjs/loader:1075
  const err = new Error(message);
              ^

Error: Cannot find module 'axe'
Require stack:
- C:\Projects\anova-oven-forwarder\node_modules\cabin\lib\index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (C:\Projects\anova-oven-forwarder\node_modules\cabin\lib\index.js:3:13)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Projects\\anova-oven-forwarder\\node_modules\\cabin\\lib\\index.js'
  ]
}
Node.js v18.16.0

Should be a pretty straightfoward fix, working on it now