Skip to content

Deploying Gatsby breaks routing and the gatsby-node and gatsby-browser setup #991

Closed
@ilyador

Description

@ilyador

Locally my gatsby site works fine, however deploying it to Amplify breaks the following:

  • Routing doesn't work at all. Everything is redirected to root URL (the page shows mostly fine).
  • gatsby-browser.js is being ignored. Seems like it is not being called at all.
  • I made custom routes in gatsby-node.js and seems like this is connected to the routing problem: client-side routes don't work too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    archivedThis issue has been locked.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions