Impossible de voir ServiceWorker.js
// you have to create a new react app. but this time with an extended code
npx create-react-app my-app --template cra-template-pwa
//this creates a react app plus the serviceWorker.js file in your app
// rem this errors occur bcoz you are using latest dependancies
search & solved