PlasmoHQ / plasmo

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

[EXP] Example with-popup not found. #787

Closed businiaoyo closed 11 months ago

businiaoyo commented 11 months ago

What is the example you wish to see?

when I run the script "pnpm create plasmo", something wrong: Example with-popup not found. node v19, windows 11

Is there any context that might help us understand?

No response

Code of Conduct

louisgv commented 11 months ago

@businiaoyo are you running the script via a proxy? The create command needs to clone the popup repo :-?...

businiaoyo commented 11 months ago

successed by runing script "pnpm create plasmo example-dir", thanks a lot.

tuphan-dn commented 3 months ago

For anyone still facing this issue, if you are running the command on Mac Silicon the XCode may be the cause. In short, because you did not approve the Xcode license, the Nodejs process (aka. create-plasmo) cannot execute the git clone command. To fix it:

sudo xcodebuild -license

Then type agree + Enter to approve the Xcode license and try pnpm create plasmo again.