-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Description
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
- lighthouse
- pwa
Environment
node -v 8.11.1:npm -v 5.6.0:npm ls react-scripts(if you haven’t ejected): 1.1.4
Then, specify:
- Operating system: macOS High Sierra
- Browser and version (if relevant): Chrome 65
Steps to Reproduce
Fresh CRA + Netlify w/ HTTPS ==> Lighthouse === not a valid PWA.
(Write your steps here:)
create-react-app foo --use-npm- Push app to Github
- Have Netlify manage it
- Associate with domain
- Use Netlify to generate Let's Encrypt cert
- Set "Deploy Settings" to "Build command:
npm run build" and "Publish Directory:build" - Verify site works/exists on https
- Run Lighthouse PWA audit
- See errors:
Here's the demo code (fresh CRA): https://github.com/corysimmons/test-cra-pwa-netlify/tree/55643ddf023d2eb4b267ca72f568268752ea398a
Here's the site: https://testing-1-2-3.com
The image sizes are easy enough for me to fix (although they should be in CRA tbh), but the Service worker does not successfully serve the manifest's start_url. confuses me.
I've tried changing the start_url to:
./index.html./.index.htmlhttps://testing-1-2-3.com./build./build/index.html
...and keep getting the same failure.
Related
Metadata
Metadata
Assignees
Labels
No labels
