Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

world property is missing from schema #995

Closed
1 of 2 tasks
dvirtz opened this issue Mar 8, 2025 · 2 comments
Closed
1 of 2 tasks

world property is missing from schema #995

dvirtz opened this issue Mar 8, 2025 · 2 comments

Comments

@dvirtz
Copy link

dvirtz commented Mar 8, 2025

Build tool

Rollup

Where do you see the problem?

  • In the browser
  • In the terminal

Describe the bug

adding a "world": "MAIN" to a content script manifest results in

[!] Error: There were problems with the extension manifest.
- {"js":["import-extension.ts"],"world":"MAIN"} at "/content_scripts/0" must NOT have additional properties
    at validateManifest (C:\Users\dyitzchaki\github\musicbrainz\musicbrainz-scripts\node_modules\rollup-plugin-chrome-extension\src\manifest-input\manifest-parser\validate.ts:41:1)

Reproduction

add "world": "MAIN" to a content script schema

Logs

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 835.55 MB / 15.73 GB
  Binaries:
    Node: 22.4.0 - C:\Users\DYITZC~1\AppData\Local\Temp\xfs-b33c53ca\node.CMD
    Yarn: 4.3.1 - C:\Users\DYITZC~1\AppData\Local\Temp\xfs-b33c53ca\yarn.CMD
    npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (134.0.3124.51)
    Internet Explorer: 11.0.22621.3527

Severity

blocking all usage of RPCE

Copy link
Contributor

github-actions bot commented Mar 8, 2025

⚠️ Important Notice: CRXJS is seeking new maintainers.

  • New issues and PRs may not receive immediate attention
  • A new maintenance team must establish itself by March 31, 2025 or this repository will be archived on June 1, 2025
  • Learn more about the transition

This is an automated message. Please do not reply to this comment.

@Toumash
Copy link
Collaborator

Toumash commented Mar 9, 2025

Duplicate of #695
Current workaround is provided here: #695 (comment) - use chrome.scripting.registerContentScripts

@Toumash Toumash closed this as completed Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants