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

Unable to update Manifest v3 #1020

Open
achalcode opened this issue Aug 7, 2023 · 2 comments
Open

Unable to update Manifest v3 #1020

achalcode opened this issue Aug 7, 2023 · 2 comments

Comments

@achalcode
Copy link

Hi

I tried to update the code manifest v3 but getting an error.

Some node module is not supported. We need to update the DOM and window request from background script.

Have you update the manifest or have you a any idea

Thanks

@bhavya3024
Copy link

@achalcode I faced the same issue The thing is the window is not supported in manifest v3 since a service worker is used to run the background process. I migrted to v3, fixed some issues, but I got stuck when the issue related to window arises. It needs to be replaced with something else see: https://stackoverflow.com/questions/73778202/using-window-globals-in-manifestv3-service-worker-background-script

@bhavya3024
Copy link

bhavya3024 commented Oct 13, 2023

UPDATE: service worker files in chrome v3 extension is unable to support imports which are dependencies installed through npm or yarn. I tried a sample boilerplate and bundled using parcel but got the following error: Uncaught TypeError: Failed to resolve module specifier "process". Relative references must start with either "/", "./", or "../". It can't resolve remote packages. only relative paths. @achalcode @bradleySuira @harshjv @GNSPS

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