Open
Description
Hardware : Mac M1 Max 32go 1To
Node.JS v22.12.0
Hi,
I've try everything described in the error, but, I always get the error below :
node dist/agent.js dev
/Users/nicolasbui/Projects/LiveKit/cognitive-hypervisor-8ndx2t/node_modules/.pnpm/sharp@0.33.5/node_modules/sharp/lib/sharp.js:113
throw new Error(help.join('\n'));
^
Error: Could not load the "sharp" module using the darwin-arm64 runtime
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=darwin --cpu=arm64 sharp - Consult the installation documentation:
See https://sharp.pixelplumbing.com/install
at Object. (/Users/nicolasbui/Projects/LiveKit/cognitive-hypervisor-8ndx2t/node_modules/.pnpm/sharp@0.33.5/node_modules/sharp/lib/sharp.js:113:9)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Object..js (node:internal/modules/cjs/loader:1708:10)
at Module.load (node:internal/modules/cjs/loader:1318:32)
at Function._load (node:internal/modules/cjs/loader:1128:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:138:16)
at Object. (/Users/nicolasbui/Projects/LiveKit/cognitive-hypervisor-8ndx2t/node_modules/.pnpm/sharp@0.33.5/node_modules/sharp/lib/constructor.js:10:1)
Node.js v22.12.0
Metadata
Metadata
Assignees
Labels
No labels