PlasmoHQ / plasmo

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

[BUG] package does not contain a valid manifest #782

Open zalewskigrzegorz opened 11 months ago

zalewskigrzegorz commented 11 months ago

What happened?

Run plasmo build --target=firefox-mv3 or plasmo build --target=firefox-mv2

pack extension according official documentation: https://extensionworkshop.com/documentation/publish/package-your-extension/

Firefox display error when trying to install Debugging unpacked extension works without problem

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Firefox

Relevant log output

Error displayed in firefox when trying to install an extension
[ACTION FAILED] TEMPORARY_EXTENSION_INSTALL_FAILURE: File ...\build\firefox-mv2-prod.xpi does not contain a valid manifest error-logging.js:16:17
    errorLoggingMiddleware resource://devtools/client/aboutdebugging/src/middleware/error-logging.js:16
    debugTargetListenerMiddleware resource://devtools/client/aboutdebugging/src/middleware/debug-target-listener.js:107
    Redux 2
        thunk
        dispatch
    installTemporaryExtension resource://devtools/client/aboutdebugging/src/actions/debug-targets.js:143

(OPTIONAL) Contribution

Code of Conduct

sohail-amini commented 3 months ago

open the extension's directory and select any file inside the extension instead of .zip folder