Closed thospr closed 1 year ago
Describe the bug Nach update auf Version 0.0.11 startet der Adapter nicht mehr.
2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: throw e; 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: ^ 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /opt/iobroker/node_modules/iobroker.withings/node_modules/http-cookie-agent/package.json 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at new NodeError (node:internal/errors:387:5) 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at throwExportsNotFound (node:internal/modules/esm/resolve:464:9) 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at packageExportsResolve (node:internal/modules/esm/resolve:748:3) 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at resolveExports (node:internal/modules/cjs/loader:493:36) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:533:31) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.withings/main.js:14:30) { 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: } 2022-09-10 20:10:57.139 - error: host.ioBroker instance system.adapter.withings.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
fixed with 0.0.12 install via GitHub or npm
Describe the bug
Nach update auf Version 0.0.11 startet der Adapter nicht mehr.
Screenshots & Logfiles
2022-09-10 20:10:57.136 - error: host.ioBroker Caught by controller[0]: node:internal/modules/cjs/loader:499
2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: throw e; 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: ^ 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /opt/iobroker/node_modules/iobroker.withings/node_modules/http-cookie-agent/package.json 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at new NodeError (node:internal/errors:387:5) 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at throwExportsNotFound (node:internal/modules/esm/resolve:464:9) 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at packageExportsResolve (node:internal/modules/esm/resolve:748:3) 2022-09-10 20:10:57.137 - error: host.ioBroker Caught by controller[0]: at resolveExports (node:internal/modules/cjs/loader:493:36) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:533:31) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.withings/main.js:14:30) { 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' 2022-09-10 20:10:57.138 - error: host.ioBroker Caught by controller[0]: } 2022-09-10 20:10:57.139 - error: host.ioBroker instance system.adapter.withings.0 terminated with code 1 (JS_CONTROLLER_STOPPED)