NEWS
[GELÖST]RingAdapter Error: Could not load the "sharp" module
-
Moin,
ich habe den Ring-Adapter installiert und bekomme nach dem Start des Adapters diese Meldung:
code_text host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error instance system.adapter.ring.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: Node.js v22.20.0 host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/sharp/lib/constructor.js:10:1) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:322:14) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.150 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/sharp/lib/sharp.js:121:9) host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: See https://sharp.pixelplumbing.com/install host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: - Consult the installation documentation: host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: npm install --os=linux --cpu=x64 sharp host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: - Add platform-specific dependencies: host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: See https://sharp.pixelplumbing.com/install#cross-platform host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: - Ensure your package manager supports multi-platform installation: host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: npm install --include=optional sharp host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: - Ensure optional dependencies can be installed: host.ioBroker(SmartHome1) 2025-10-16 08:35:31.149 error Caught by controller[0]: Possible solutions: host.ioBroker(SmartHome1) 2025-10-16 08:35:31.148 error Caught by controller[0]: Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture host.ioBroker(SmartHome1) 2025-10-16 08:35:31.148 error Caught by controller[0]: Error: Could not load the "sharp" module using the linux-x64 runtime host.ioBroker(SmartHome1) 2025-10-16 08:35:31.148 error Caught by controller[0]: ^ host.ioBroker(SmartHome1) 2025-10-16 08:35:31.148 error Caught by controller[0]: throw new Error(help.join('\n')); host.ioBroker(SmartHome1) 2025-10-16 08:35:31.148 error Caught by controller[0]: /opt/iobroker/node_modules/sharp/lib/sharp.js:121
code_text
Kann mir da jemand helfen was ich machen kann?
Vielen Dank im Voraus
LG
-
@torstenhe sagte in Ring-Adapter: Error: Could not load the "sharp" module:
2025-10-16 08:35:31.148 error Caught by controller[0]: Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture
2025-10-16 08:35:31.148 error Caught by controller[0]: Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture
Auf was fürn System mit Hardware bist Du unterwegs?
Kompletten Auszug von
iob diag
bitte.
-
Ich habe einen Proxmox laufen auf nem Lenovo Thinkcentre Tiny. iob info kommt noch. Bin @ Work und komm nicht ran wie ich ran will.
PlatformBetriebssystem:linux
Architektur:x64
CPUs:4
Modell:Common KVM processor
RAM:11.6 GB
Node.js:v22.20.0
NPM:10.9.3
_nodeCurrent:22.20.0
_nodeNewest:22.20.0
_nodeNewestNext:22.20.0
_npmCurrent:10.9.3
_npmNewest:10.9.3
_npmNewestNext:10.9.3 -
Bei der Suche nach Deinem Error habe ich diese Antwort gefunden.
I used pve to simulate the centos system, the cpu is Model: 15.6.1 "Common KVM processor", I just modified the hardware processor of the pve virtual machine and it worked
Da ich da nicht in der Materie stecke und hoffe und denke, dass Du eine VM hast, musst Du wohl an den CPU Einstellungen etwas ändern.
-
Hmm. Den Fehler hatte ich noch bei keinem anderen Adapter und das System läuft eigentlich sehr gut.
Dann versuche ich mal in diese Richtung zu forschen.
Dankeschön
-
Du hast mich auf den richtigen Weg gebracht, vielen Dank.
Die Lösung war, den Prozessortyp der VM auf HOST umzustellen, jetzt läuft der Adapter.
LG
-
Siehste, kaum macht man es richtig
-
Man lernt nie aus.
-
Setz noch bitte [GELÖST) vor Deinen Threadtitel.
-
Aber klar doch.