-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
type: bugSomething isn't workingSomething isn't working
Description
- I confirm that this is a issue rather than a question.
Bug report
Version
- vuepress 1.0.0-alpha.37
- @vuepress/plugin-pwa 1.0.0-alpha.0
Steps to reproduce
- Open https://mysticatea.github.io/eslint-plugin-eslint-comments/
- Open devtools' console
- You can find the following error message.
The path of the provided scope ('/') is not under the max scope allowed ('/eslint-plugin-eslint-comments/'). Adjust the scope, move the Service Worker script, or use the Service-Worker-Allowed HTTP header to allow the scope.
- Site: https://mysticatea.github.io/eslint-plugin-eslint-comments/
- Config: https://github.com/mysticatea/eslint-plugin-eslint-comments/blob/5189c013eb4b75f01fc39778e77450e09f00e32a/docs/.vuepress/config.js
- Repository: https://github.com/mysticatea/eslint-plugin-eslint-comments
npm run docs:build
is the command to build with vuepress.
- Build job: https://travis-ci.org/mysticatea/eslint-plugin-eslint-comments/jobs/491085834
What is expected?
- The site uses service worker.
What is actually happening?
- The site fails to register service worker.
Other relevant information
- Your OS: Travis CI's Linux container (Ubuntu 14.04.5 LTS)
- Node.js version: 10.15.1
- Browser version: Chrome 73.0.3683.27(Official Build)beta
- Is this a global or local install? : local
- Which package manager did you use for the install? : yarn
I guess that registrationOptions is lacking on @vuepress/plugin-pwa/lib/enhanceAppFile.js.
BuptStEve
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working