RemoteWebViewServer icon indicating copy to clipboard operation
RemoteWebViewServer copied to clipboard

Load error

Open geo903 opened this issue 1 year ago • 2 comments

Remote WebView Server installed on Home Assistant OS 16.2 , an error occurs when starting:

[remote-webview] Starting debug proxy on :9222 -> 127.0.0.1:9221 2025/11/05 11:48:34 socat[42] W ioctl(5, IOCTL_VM_SOCKETS_GET_LOCAL_CID, ...): Inappropriate ioctl for device 2025/11/05 11:48:34 socat[42] N listening on AF=2 0.0.0.0:9222 /app/node_modules/sharp/lib/sharp.js:121 throw new Error(help.join('\n')); ^ Error: Could not load the "sharp" module using the linux-x64 runtime Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture Possible solutions:

  • Ensure optional dependencies can be installed: npm install --include=optional sharp
  • Ensure your package manager supports multi-platform installation: See https://sharp.pixelplumbing.com/install#cross-platform
  • Add platform-specific dependencies: npm install --os=linux --cpu=x64 sharp
  • Consult the installation documentation: See https://sharp.pixelplumbing.com/install at Object. (/app/node_modules/sharp/lib/sharp.js:121:9) at Module._compile (node:internal/modules/cjs/loader:1688:14) at Object..js (node:internal/modules/cjs/loader:1820:10) at Module.load (node:internal/modules/cjs/loader:1423:32) at Function._load (node:internal/modules/cjs/loader:1246:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24) at Module.require (node:internal/modules/cjs/loader:1445:12) at require (node:internal/modules/helpers:135:16) at Object. (/app/node_modules/sharp/lib/constructor.js:10:1) Node.js v22.18.0 Node.js v22.18.0

geo903 avatar Nov 05 '25 11:11 geo903

https://community.home-assistant.io/t/remote-webview-shows-ha-web-dashboard-on-esp32-s3-based-screen/929258/38?u=strange_v

strange-v avatar Nov 05 '25 12:11 strange-v

the problem is solved

geo903 avatar Nov 05 '25 12:11 geo903