devloco / create-react-wptheme

Create modern, React-enabled WordPress themes with a single command.
MIT License
359 stars 60 forks source link

Bad precaching response #60

Open Radeon2211 opened 3 years ago

Radeon2211 commented 3 years ago

When I uploaded my theme to the server, console shows error: error In general the app works. This is the only issue. I have default configuration of service worker and pretty the same manifest.json as default. The code is here: https://github.com/Radeon2211/zlotowmsf This happens in every browser (I tested Chrome, Edge, Firefox and Chrome on mobile). Due to this I can't add an app to home screen. This is especially important to me. This issue happens even in brand new project on freshly installed wordpress server. I was looking for a solution but neither was related to create-react-wptheme, but in general to React. I saw many advices to edit webpack configuration. I don't remember what I've done exactly but after webpack ejecting I was't able to build the app due to a few errors with webpack.

yvikasofficial commented 3 years ago

@Radeon2211 Did you find any fix for this?