jdpro icon indicating copy to clipboard operation
jdpro copied to clipboard

带图评价晒单出错

Open formyangel1219 opened this issue 6 months ago • 1 comments

Error: Could not load the "sharp" module using the linuxmusl-arm runtime Possible solutions:

  • Manually install libvips >= 8.16.1
  • Add experimental WebAssembly-based dependencies: npm install --cpu=wasm32 sharp npm install @img/sharp-wasm32
  • Consult the installation documentation: See https://sharp.pixelplumbing.com/install at Object. (/ql/data/dep_cache/node/global/5/.pnpm/[email protected]/node_modules/sharp/lib/sharp.js:121:9) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) at Module.require (node:internal/modules/cjs/loader:1335:12) at require (node:internal/modules/helpers:136:16) at Object. (/ql/data/dep_cache/node/global/5/.pnpm/[email protected]/node_modules/sharp/lib/constructor.js:10:1) 老青龙版本,sharp依赖请安装0.32.6之前版本 [email protected] [email protected]都可以试试

安装了sharp依赖问题依旧,安装[email protected]提示失败, Prebuilt libvips 8.14.2 binaries are not yet available for linuxmusl-armv7 盒子是华为悦盒刷的海纳思。ubuntu 20.04

formyangel1219 avatar Jun 04 '25 00:06 formyangel1219

重安装sharp,重新拉库

derek926 avatar Jun 11 '25 04:06 derek926