Bug: npm run generate invalid token #1655
leecjaster
started this conversation in
General
Replies: 2 comments 1 reply
-
Hey @leecjaster . You should be using the NEXT_PUBLIC_WORDPRESS_URL env variable in your .env file that points to your WordPress URL and not your Headless Url since the See Reference: https://faustjs.org/tutorial/get-started-with-faust#connecting-your-wordpress-site |
Beta Was this translation helpful? Give feedback.
1 reply
-
@leecjaster I'm going to move this to a Discussion. If Theo's fix above doesn't help, please let us know. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Several of the listed fixes did not work for me here on a similar issue: #576
Environment
@faustwp/core
version: 0.2.2@faustwp/cli
version: 0.2.13@faustwp/blocks
version: N/A@faustwp/block-editor-utils
version: N/ADescription
When running
npm run generate
locally, I receive the following error below. The URL ofhttps://hdhypz129th2qx4j654qqmbh2.js.wpenginepowered.com/graphql
is the front-end Atlas staging URL from Wordpress Engine. Is that the correct URL it should be looking at for the graphQL endpoint and updating ACF custom fields inpossibleTypes.json
?Expected vs. Actual Behavior
I anticipate the graphQl endpoint to update the
possibleTypes.json
file.Beta Was this translation helpful? Give feedback.
All reactions