Replies: 1 comment 1 reply
-
Hey @gedlow I had a loot at this. It looks like there is GET query during this error and this fails for some reason with
The query url was:
Looking deeper into AWS I found out that by default Amplify does not expose ENV variables in the SSR context https://docs.aws.amazon.com/amplify/latest/userguide/ssr-environment-variables.html So to fix that you need to manually add Faust ENV variables them to the build configuration the Once you do that then you should be able to see the page: I'm moving this issue to discussions for reference. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
@faustwp/core
version: 1.2.0@faustwp/cli
version: 1.2.1@faustwp/blocks
version: NA@faustwp/block-editor-utils
version: NADescription
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
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/
Beta Was this translation helpful? Give feedback.
All reactions