Vielen Dank für den Hinweis.
Meine Versuche mit AI waren parallel auch erfolgreich.
Ein bisschen hb ich dann noch gesucht, wo diese alte node-gyp herkommt.
Aber...
$ cd /opt/iobroker
ls -l node_modules/.bin/node-gyp
readlink -f node_modules/.bin/node-gyp
ls: cannot access 'node_modules/.bin/node-gyp': No such file or directory
/opt/iobroker/node_modules/.bin/node-gyp
That confirms the .bin/node-gyp entry is not present after installation. readlink -f returned the path unchanged because it couldn’t resolve it to a target; the file is missing.
The install log still proves that, while npm was running the raw-socket and usocket scripts, that path resolved to node-gyp 7.1.2. But because npm removed the install-time entry afterward, we can’t trace the package that provided it from the current filesystem.
To identify its source, we’d need to capture the entry while the scripts are running. Since those build errors are non-blocking and BLE works, this is only useful for explaining the dependency behavior; it isn’t needed to keep the adapter working.
Auch wenn die letzte Idee charmant und interessant ist - mir fehlt leider die Zeit, da weiter zu suchen, wer da noch auf node-gyp 7.1.2 verweist.
Vielleicht hilft das jemand anderem - Euch auf jeden Fall vielen Dank für die schnelle Hilfe!
So long,
Bjorn