Skip to content
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

New blog post gives error on first load #3142

Closed
sedubois opened this issue Dec 6, 2017 · 5 comments · May be fixed by danielres/gatsby#1
Closed

New blog post gives error on first load #3142

sedubois opened this issue Dec 6, 2017 · 5 comments · May be fixed by danielres/gatsby#1

Comments

@sedubois
Copy link
Contributor

sedubois commented Dec 6, 2017

The full images did not load on my first visit of the new blog post. (Second time was fine.) Using Chrome 62.0.3202.94 (Official Build) (64-bit) on macOS. Unfortunately I closed the window before noting exactly which file threw the error (I seem to remember from a mouse hover that it was something with prop-types).

I can't reproduce the issue by visiting the page from a private session.

screen shot 2017-12-06 at 9 59 20

@calcsam
Copy link
Contributor

calcsam commented Dec 6, 2017

I've been able to reproduce this the first time I loaded the blog post, but not in an incognito window or after clearing cache. Perhaps this is a service worker bug?

@rdela
Copy link
Contributor

rdela commented Dec 13, 2017

Not seeing in 63.0.3239.90 beta or 65.0.3293.0 canary FWIW

@sedubois
Copy link
Contributor Author

Maybe it was because I had already visited the blog previously, so my local service worker had something different from the updated website?

I don’t know much about service workers but it looks like there can be issues when the code gets updated. I’ve been observing the same several times when updating my own site, had to clear my browser cache to fix it.

@sedubois
Copy link
Contributor Author

sedubois commented Jan 26, 2018

I had the issue again when opening https://www.gatsbyjs.org/blog/ today (Firefox Quantum). Second load was okay.

screen shot 2018-01-26 at 21 23 07

Error is thrown at bootstrap%204819ead1ea268be1797a:52 which is a file starting with // install a JSONP callback for chunk loading. Code looks like this:

 		// Execute the module function
 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

Same issue is reported in #3582 with my own site.

@sedubois
Copy link
Contributor Author

Closing as duplicate of #3582.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants