Skip to content

[BUG] Cannot destructure property 'options_ui' of 'this.overideManifest' as it is undefined #1320

@cheesestringer

Description

@cheesestringer

What happened?

Using plasmo build for Chromium when the package.json has a manifest override for browser_specific_settings fails with: Cannot destructure property 'options_ui' of 'this.overideManifest' as it is undefined

  "manifest": {
    "browser_specific_settings": {
      "gecko": {
        "id": "$FIREFOX_EXTENSION_ID"
      }
    }
  }

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

No response

Relevant log output

> plasmo build
🟣 Plasmo v0.90.5
🔴 The Browser Extension Framework
🔵 INFO   | Prepare to bundle the extension...
🔵 INFO   | Building for target: chrome-mv3
🔴 ERROR  | Cannot destructure property 'options_ui' of 'this.overideManifest' as it is undefined.

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions