goldhand/sw-precache-webpack-plugin

Uncaught (in promise) TypeError: Add/AddAll does not support schemes other than "http" or "https"

Closed this issue · 3 comments

service-worker.js:137 Uncaught (in promise) TypeError: Add/AddAll does not support schemes other than "http" or "https"

You can pull my project to debug the problem:

git clone https://github.com/fengxinming/koa2-vue-hackernews
cd koa2-vue-hackernews
npm install
npm run build
npm start

Input "http://localhost:5500" on your Chrome

@fengxinming Getting the same error. Found any fix?

@anshchauhan Nothing to be found, I haven't used it

Sounds like you're importing scripts from a different protocol that http or https. Assuming this is a browser limitation.