PlasmoHQ / plasmo

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

[BUG] Cant run dev/build #1042

Open aianddeng opened 3 months ago

aianddeng commented 3 months ago

What happened?

CleanShot 2024-08-02 at 13 39 07

I'm not sure why, sometimes it can run normally.

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

No response

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

shunyue1320 commented 3 months ago

I'm the same as you, bro.

Apple M1 Pro 16 GB Sonoma 14.5

shunyue1320 commented 3 months ago

node: v22.2.0

shunyue1320 commented 3 months ago
image
shunyue1320 commented 3 months ago

v0.88.0 is the same

braden-w commented 3 months ago

Same here, tried clearing node_modules, etc. but still have the same issue. Does anyone know what was the latest version that still worked?

GaoCan702 commented 2 months ago

The problem disappeared for me once I configured a mirror repository for pnpm, “https://registry.npmmirror.com

smuushi commented 1 month ago

If anyone else is running into this, I get this issue when running on node 22. Running on node 20 and below works for me.

jingkeling commented 1 month ago

Same for me. Plasmo v0.89.2 Node v20.15.0 It could be a network problem on my side. The Plasmo build utilizes the 'got' library, and that library doesn't go through an HTTP proxy.