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

"Failed to load extension from .../build. Could not load javascript 'static/js/0.chunk.js' for content script. #19

Open
xush6528 opened this issue Jan 24, 2021 · 2 comments

Comments

@xush6528
Copy link

xush6528 commented Jan 24, 2021

I get a pop up error message box from chrome on reloading my extension.

This is my manifest.json, https://gist.github.com/xush6528/b2721f54f34fc740e4e2facdd44cb800

I wonder what other requirements this solution has.

@xush6528
Copy link
Author

My hypothesis is that the building has not finished yet, the extension reloading is fired, thus resulting chrome to load broken files.

@xpl
Copy link
Owner

xpl commented Jan 24, 2021

Yeah, could be the case. I guess a white-list of watched files could help, so that the extension would reload only when a specific file is updated. A larger timeout could also help.

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