create-chrome-extension
create-chrome-extension copied to clipboard
No 'Access-Control-Allow-Origin' header is present on the requested resource
I try to load a background script but some error was occured.
So I override to node_modules/create-chrome-extension/lib/run.js
directly then resolve this problem. Probably someone need it so I made a PR #12 .
Error message on chrome-extension://enngdmhmmdohcllaeknbldmmmpihiech
(my extension):
XMLHttpRequest cannot load https://localhost:3001/background/inspect.js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://enngdmhmmdohcllaeknbldmmmpihiech' is therefore not allowed access.