Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run agent "node dist/agent.js dev" #26

Open
nicolasbui opened this issue Dec 9, 2024 · 0 comments
Open

Can't run agent "node dist/agent.js dev" #26

nicolasbui opened this issue Dec 9, 2024 · 0 comments

Comments

@nicolasbui
Copy link

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/[email protected]/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/[email protected]/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/[email protected]/node_modules/sharp/lib/constructor.js:10:1)

Node.js v22.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant