-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Labels
needs-teamIssues pending triage by the Docs TeamIssues pending triage by the Docs Teamsource:webIssues originating from the elastic.co docsIssues originating from the elastic.co docs
Description
Type of issue
None
What documentation page is affected
https://www.elastic.co/docs/solutions/observability/synthetics/create-monitors-with-projects
What happened?
When I run npx @elastic/synthetics init synthetic-project-test
as explained. I get the following error:
npx @elastic/synthetics init synthetics
/Users/jcal/.npm/_npx/078b1f4ad9d5f588/node_modules/sharp/lib/sharp.js:121
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.<anonymous> (/Users/jcal/.npm/_npx/078b1f4ad9d5f588/node_modules/sharp/lib/sharp.js:121:9)
at Module._compile (node:internal/modules/cjs/loader:1730:14)
at Object..js (node:internal/modules/cjs/loader:1895:10)
at Module.load (node:internal/modules/cjs/loader:1465:32)
at Function._load (node:internal/modules/cjs/loader:1282: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:1487:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/Users/jcal/.npm/_npx/078b1f4ad9d5f588/node_modules/sharp/lib/constructor.js:10:1)
Node.js v22.16.0
Additional info
No response
Metadata
Metadata
Assignees
Labels
needs-teamIssues pending triage by the Docs TeamIssues pending triage by the Docs Teamsource:webIssues originating from the elastic.co docsIssues originating from the elastic.co docs