PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.03k stars 346 forks source link

[BUG] can not run project #853

Open homestylew opened 8 months ago

homestylew commented 8 months ago

What happened?

node 20.10.0 npm 10.2.3 pnpm 8.10.2

When I run :pnpm create plasmo --with-antd

error: node_modules/.pnpm/sharp@0.32.6/node_modules/sharp: Running install script, failed in 47s .../sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebui… │ sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-win32-x64.tar.br │ sharp: Installation error: aborted │ sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies └─ Failed in 47s at C:\Users\yy\Desktop\browser-extension\retire-noble-seal\node_modules.pnpm\sharp@0.32.6\node_modules\sharp  ELIFECYCLE  Command failed with exit code 1. 🟠 WARN | pnpm install exited with non-zero code: 1

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

No response

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

CongCong-1228 commented 5 months ago

have you resolved this problem?

holmofy commented 3 days ago

I also encountered the same problem

npm error code 1
npm error path D:\octopus-browser\node_modules\sharp
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm error sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.2/libvips-8.14.2-win32-x64.tar.br
npm error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm error sharp: Installation error: aborted
holmofy commented 3 days ago

This seems to be a sharp problem. https://github.com/lovell/sharp/issues/3818