create-chrome-extension icon indicating copy to clipboard operation
create-chrome-extension copied to clipboard

No 'Access-Control-Allow-Origin' header is present on the requested resource

Open teramotodaiki opened this issue 7 years ago • 0 comments

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.

teramotodaiki avatar Jun 22 '17 12:06 teramotodaiki