Skip to content

Bug: Faustjs - doesn't work on Amplify AWS #1678

@gedlow

Description

@gedlow

Environment

  • @faustwp/core version: 1.2.0
  • @faustwp/cli version: 1.2.1
  • @faustwp/blocks version: NA
  • @faustwp/block-editor-utils version: NA
  • WordPress version: 6.4.2
  • Browser, OS, and other relevant software versions: hosted on amplify / aws

Description

Faustjs doesn't seem to work on Amplify (AWS). From what I can tell, the problem is around Apollo Client and how it fetches the queries.

Steps to Reproduce

  1. Clone and set up an example project from https://github.com/wpengine/faustjs/tree/canary/examples/next/faustwp-getting-started
  2. Upload on Amplify and configure envs;
  3. Launch the amplify link.

Expected vs. Actual Behavior

Expected: a website to work;
Actual: nextjs throws 500

Reproducible Demo

here's the link to the demo: https://master.dhl1hn8ryoygs.amplifyapp.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions