Skip to content

[bug]: Requirement check for 'nogit' missing #3119

@mcm1957

Description

@mcm1957

No existing issues.

  • There is no existing issue for my problem.

Description

iob url https://... installs an adapter even if the flag common.nogit is set to true.

This results in various errors, most likely startup errors due to missing files.

Installation should be blocked.

If this is not possible (do to limited access to sources - iob url seems to simply call npm) a BIG info should be logged AFTER installation and any attempt to start the adapter should be blocked (as after installation io-package.json is definitly available this should be possible in any case). The combination "installed from github and nogit should be available to check,

Reproduction instruction

Try to install any adapter with common.nogit set to true (i.e. ioBroker.modbus) using commandline iob url https://...

JS-controller version

7.0.6

Node version

22

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions