plasmo icon indicating copy to clipboard operation
plasmo copied to clipboard

[EXP] Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp

Open syrup-ko opened this issue 9 months ago • 4 comments

What is the example you wish to see?

with-popup

Is there any context that might help us understand?

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I checked the current issues for duplicate problems.

syrup-ko avatar May 08 '24 01:05 syrup-ko

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.

tuphan-dn avatar Jun 13 '24 04:06 tuphan-dn

I got the same error and it's not on the Mac, but it's on the Ubuntu in WSL 2.

> pnpm create plasmo
🟣 Plasmo v0.88.0
🔴 The Browser Extension Framework
🟡 Extension name: try-violent-dingo
🔴 ERROR  | Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
          | Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp
    at up.createWithExample (file:///home/michael/.cache/pnpm/dlx/cnvo4e2wcoqloc4uifsf4yoara/1907eaacb1f-13b8/node_modules/.pnpm/[email protected]/node_modules/create-plasmo/dist/index.js:939:12739)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async up.createBlank (file:///home/michael/.cache/pnpm/dlx/cnvo4e2wcoqloc4uifsf4yoara/1907eaacb1f-13b8/node_modules/.pnpm/[email protected]/node_modules/create-plasmo/dist/index.js:939:13179)
    at async up.create (file:///home/michael/.cache/pnpm/dlx/cnvo4e2wcoqloc4uifsf4yoara/1907eaacb1f-13b8/node_modules/.pnpm/[email protected]/node_modules/create-plasmo/dist/index.js:939:11431)
    at async n8e (file:///home/michael/.cache/pnpm/dlx/cnvo4e2wcoqloc4uifsf4yoara/1907eaacb1f-13b8/node_modules/.pnpm/[email protected]/node_modules/create-plasmo/dist/index.js:946:418)
    at async o8e (file:///home/michael/.cache/pnpm/dlx/cnvo4e2wcoqloc4uifsf4yoara/1907eaacb1f-13b8/node_modules/.pnpm/[email protected]/node_modules/create-plasmo/dist/index.js:946:949)
🔴 EXIT   | This program will terminate in 2 seconds...
🔴 EXIT   | 👋 Good bye and have a great day!

Nevermind. I needed to add my SSH private key into my SSH agent because this command depends on git CLI.

michael-freling avatar Jul 04 '24 17:07 michael-freling

still runs into the issue on the mac

🟣 Plasmo v0.89.3 🔴 The Browser Extension Framework 🔴 ERROR | Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp | Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp

kcmvp avatar Oct 10 '24 06:10 kcmvp

still runs into the issue on the mac

🟣 Plasmo v0.89.3 🔴 The Browser Extension Framework 🔴 ERROR | Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp | Error: Example with-popup not found. You may file an example request at: https://docs.plasmo.com/exp

Have you solved the problem?i meet the same ERROR

kjywwxs avatar Oct 19 '24 17:10 kjywwxs