Update serve.ts #32
Annotations
1 error
build
The deployment failed: UNCAUGHT_EXCEPTION
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> (file:///node_modules/.deno/[email protected]/node_modules/sharp/lib/sharp.js:113:9)
at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/sharp/lib/sharp.js:116:4)
at Module._compile (node:module:736:34)
at Object.Module._extensions..js (node:module:757:11)
at Module.load (node:module:655:32)
at Function.Module._load (node:module:523:13)
at Module.require (node:module:674:19)
at require (node:module:801:16)
at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/sharp/lib/constructor.js:10:1)
at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/sharp/lib/constructor.js:454:4)
|