Status: Failed
Test Event Name: test
Response:
{
"errorType": "Error",
"errorMessage": "Could not load the \"sharp\" module using the linux-x64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=linux --cpu=x64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install",
"trace": [
"Error: Could not load the \"sharp\" module using the linux-x64 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=linux --cpu=x64 sharp",
"- Consult the installation documentation:",
" See https://sharp.pixelplumbing.com/install",
" at Object.<anonymous> (/var/task/cf-resizing/node_modules/sharp/lib/sharp.js:113:9)",
" at Module._compile (node:internal/modules/cjs/loader:1546:14)",
" at Object..js (node:internal/modules/cjs/loader:1689: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:315:14)",
" at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)",
" at Module.require (node:internal/modules/cjs/loader:1340:12)",
" at require (node:internal/modules/helpers:141:16)",
" at Object.<anonymous> (/var/task/cf-resizing/node_modules/sharp/lib/constructor.js:10:1)"
]
}
Function Logs:
25-01-18T06:52:37.093Z undefined ERROR Uncaught Exception {"errorType":"Error","errorMessage":"Could not load the \"sharp\" module using the linux-x64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=linux --cpu=x64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install","stack":["Error: Could not load the \"sharp\" module using the linux-x64 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=linux --cpu=x64 sharp","- Consult the installation documentation:"," See https://sharp.pixelplumbing.com/install"," at Object.<anonymous> (/var/task/cf-resizing/node_modules/sharp/lib/sharp.js:113:9)"," at Module._compile (node:internal/modules/cjs/loader:1546:14)"," at Object..js (node:internal/modules/cjs/loader:1689: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:315:14)"," at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)"," at Module.require (node:internal/modules/cjs/loader:1340:12)"," at require (node:internal/modules/helpers:141:16)"," at Object.<anonymous> (/var/task/cf-resizing/node_modules/sharp/lib/constructor.js:10:1)"]}
INIT_REPORT Init Duration: 523.52 ms Phase: init Status: error Error Type: Runtime.Unknown
2025-01-18T06:52:42.805Z undefined ERROR Uncaught Exception {"errorType":"Error","errorMessage":"Could not load the \"sharp\" module using the linux-x64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=linux --cpu=x64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install","stack":["Error: Could not load the \"sharp\" module using the linux-x64 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=linux --cpu=x64 sharp","- Consult the installation documentation:"," See https://sharp.pixelplumbing.com/install"," at Object.<anonymous> (/var/task/cf-resizing/node_modules/sharp/lib/sharp.js:113:9)"," at Module._compile (node:internal/modules/cjs/loader:1546:14)"," at Object..js (node:internal/modules/cjs/loader:1689: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:315:14)"," at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)"," at Module.require (node:internal/modules/cjs/loader:1340:12)"," at require (node:internal/modules/helpers:141:16)"," at Object.<anonymous> (/var/task/cf-resizing/node_modules/sharp/lib/constructor.js:10:1)"]}
INIT_REPORT Init Duration: 5954.92 ms Phase: invoke Status: error Error Type: Runtime.Unknown
START RequestId: ed4d26a9-1b01-4ba1-a8e7-fb0b4a67bd87 Version: $LATEST
END RequestId: ed4d26a9-1b01-4ba1-a8e7-fb0b4a67bd87
REPORT RequestId: ed4d26a9-1b01-4ba1-a8e7-fb0b4a67bd87 Duration: 5979.75 ms Billed Duration: 5980 ms Memory Size: 128 MB Max Memory Used: 96 MB Status: error Error Type: Runtime.Unknown
Request ID: ed4d26a9-1b01-4ba1-a8e7-fb0b4a67bd87
Markdown
복사
해결방안
npm install --include=optional sharp
npm install --os=linux --cpu=x64 sharp
Shell
복사

