Skip to content

[bug]: js-controller blocks update of adapter-core #3125

@mcm1957

Description

@mcm1957

No existing issues.

  • There is no existing issue for my problem.

Description

js-controller uses an outdates 'override' at package.json effectly blocking any update of adapter-core.

We have an adapter-core 3.3.x. It only seems to be used with js.controller 5(!).
js-controller 6.x.x and higher sets an OVERRIDE on adapter-core ^3.2.1. This means that npm apparently sees no reason to install core 3.3.x, even if the adapter requires it.

See https://t.me/c/1697676361/23693 and below...

js-controller source:

private readonly SUPPORTED_ADAPTER_CORE_VERSION = '^3.2.1';

if (packJson.overrides?.['@iobroker/adapter-core'] === this.SUPPORTED_ADAPTER_CORE_VERSION) {

Reproduction instruction

look into /opt/iobroker/package,json or use npm ls to check installed adapter.core release

JS-controller version

7.0.7

Node version

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions