Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: After update js-controller to 7.0.0 mqtt broker adapter doesn't load #2939

Open
1 task done
paveltsytovich opened this issue Oct 11, 2024 · 3 comments
Open
1 task done
Labels

Comments

@paveltsytovich
Copy link

paveltsytovich commented Oct 11, 2024

No existing issues.

  • There is no existing issue for my problem.

Description

After update js-controller to 7.0.0 version I see in log:

2024-10-11 08:49:54.216 - error: host.Krakow Caught by controller[0]: throw err;
2024-10-11 08:49:54.217 - error: host.Krakow Caught by controller[0]: ^
2024-10-11 08:49:54.218 - error: host.Krakow Caught by controller[0]: Error: Cannot find module '@iobroker/adapter-core'
2024-10-11 08:49:54.218 - error: host.Krakow Caught by controller[0]: Require stack:
2024-10-11 08:49:54.218 - error: host.Krakow Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.mqtt/main.js
2024-10-11 08:49:54.219 - error: host.Krakow Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
2024-10-11 08:49:54.219 - error: host.Krakow Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27)
2024-10-11 08:49:54.220 - error: host.Krakow Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
2024-10-11 08:49:54.221 - error: host.Krakow Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
2024-10-11 08:49:54.221 - error: host.Krakow Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.mqtt/main.js:3:15)
2024-10-11 08:49:54.222 - error: host.Krakow Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
2024-10-11 08:49:54.222 - error: host.Krakow Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
2024-10-11 08:49:54.222 - error: host.Krakow Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
2024-10-11 08:49:54.223 - error: host.Krakow Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
2024-10-11 08:49:54.244 - error: host.Krakow Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
2024-10-11 08:49:54.244 - error: host.Krakow Caught by controller[0]: code: 'MODULE_NOT_FOUND',
2024-10-11 08:49:54.245 - error: host.Krakow Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.mqtt/main.js' ]
2024-10-11 08:49:54.245 - error: host.Krakow Caught by controller[0]: }
2024-10-11 08:49:54.245 - error: host.Krakow Caught by controller[0]: Node.js v18.20.4
2024-10-11 08:49:54.246 - error: host.Krakow instance system.adapter.mqtt.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

Reproduction instruction

simple perform update js-controller to 7.0.0 and start iobroker

JS-controller version

7.0.0

Node version

18.20.4

@mcm1957
Copy link
Contributor

mcm1957 commented Oct 11, 2024

Which release of mqtt adapter is installed at your system ?

@paveltsytovich
Copy link
Author

6.1.2 - last version of mqtt broker

@Apollon77
Copy link
Collaborator

Please try to reinstall the adapter. it seems that something is strange in your npm tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants