gatsby: Web Sites keeps loading infinitely on Safari?

If you visit my website & go to Apps on Safari, it keeps on redirecting again & again.

And in console there is some weird error TypeError: undefined is not an object (evaluating 'this.state.pageResources.json.pageContext').

I think something is wrong with the static pages.json or path.json it generates after building the site.

In Chrome or Firefox this works all fine. No issues at all. Has anyone ever faced this issue?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (17 by maintainers)

Most upvoted comments

Experiencing this issue again with Gatsby: “version”: “2.31.1”

Safari: Version 14.0.1 (14610.2.11.51.10)

@deadcoder0904 Awesome! Glad you got it fixed 😃

@deadcoder0904 Clone my repo from https://github.com/davidbailey00/gatsby and checkout branch fix-offline-issues (important, otherwise you’ll just have an old version of Gatsby without the changes).

Then follow the instructions here on Gatsby’s website to setup gatsby-dev and copy the development files. Once those files are copied, build your site as normal with gatsby build and test it.

Let me know if you need any help or if another issue pops up!