-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Open
Description
Hello guys!
I activate the serviceWorker.register() in my project.
I'm running the build and then I run serve -s build
When I use chrome to connect to localhost:5000 I see this error in the console and my service worker is not registered and in application tab I see that service worker in not installed.
workbox.core.clientsClaim is not a function at service-worker.js:26
This is my config project
"dependencies": {
"@ionic/react": "^0.0.5",
"axios": "^0.18.0",
"dotenv": "^6.2.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"react-scripts": "3.0.1",
"use-react-router": "^1.0.5"
},
yarn 1.7.0
npm 6.1.0
I don't know if it is a bug or just my configuration is failing...
I printed in console the workbobox.core object

Thanks for support
Reactions are currently unavailable