PlasmoHQ / plasmo

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

[BUG] Why does the prompt 'SidePanel is not available on chromium based MV2 browsers, skinning' appear when I package files with 'exec' in the child process of node #1119

Open little077 opened 1 month ago

little077 commented 1 month ago

What happened?

I wrote a script in packagejson, then executed it, and the script used exec to execute the plasti build script. Then something magical happened, controlling | SidePanel is not available on chromium based MV2 browsers, skinning., causing the plugin to crash and not start

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Relevant log output

🟣 Plasmo v0.89.3
🔴 The Browser Extension Framework
🔵 INFO   | Prepare to bundle the extension...
🔵 INFO   | Building for target: yuan
🔵 INFO   | SidePanel is not available on chromium-based MV2 browsers, skipping.
🔵 INFO   | Loaded environment variables from: [ '.env.production', '.env' ]
🟢 DONE   | Finished in 972ms!
Process exited with code 0

(OPTIONAL) Contribution

Code of Conduct

little077 commented 1 month ago

Do you need me to provide a demo that can be demonstrated