Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Reactjs cant find serviceWorker.js file in app src folder

// 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
 
PREVIOUS NEXT
Tagged: #Reactjs #find #file #app #src #folder
ADD COMMENT
Topic
Name
9+2 =