-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Failing GET request upon fresh project creation #1531
Comments
Which template are you using, or is a custom one? The first thing that comes to mind is if you have an existing service worker for |
It's the default one. There's no existing service worker. It's a freshly created project |
Do you have any other browsers to test with? A quick google shows other people getting that with Chrome canary/beta channels. Edit: I'm assuming you're on beta, as your user agent says v89. |
It is an issue with Chrome Beta. So it's not a huge issue at the moment, but doesn't that mean this will be an issue in a soon to be released version of Chrome? |
As far as I can tell it looks to be a Chrome bug. Honestly not sure. I don't see what would cause issues there. |
You should be able to add |
Just tried that. I get the same thing. I also tried it with |
Well As for Unfortunately I really don't know what else to say at the moment. I'll try to investigate around but this seems to be something new popping up on a few projects and only with the canary/dev/beta builds of chrome. Will keep you posted if I find anything though. |
On Edge 89.0.774.45 (latest official release as of today), I hit the same problem. |
The dev mode SW is just there to disable the production one that you may test out with, so it isn't a full SW and that's where this error stems from. It's shouldn't be an issue with your production site at all, just in dev. Might need to find a better way to manage that though the effect of this should be limited to your devtools really. |
Closing this out as I've never been able to reproduce nor have I heard anything else regarding this in over a year. |
Do you want to request a feature or report a bug?
Bug
What is the current behaviour?
Upon running
npx preact-cli create
andnpm run dev
, I see a failing GET request in the console, a network error response, and a "site cannot be installed" message.If the current behaviour is a bug, please provide the steps to reproduce.
npx preact-cli create
npm run dev
http://localhost:8080/
What is the expected behaviour?
There should be no failing GET request with a fresh install.
Please mention other relevant information.
This is the info from the Network tab of the failed request
This is the file the network error response points to.
Please paste the results of
preact info
here.The text was updated successfully, but these errors were encountered: