Headless wordpress GraphQL

Hello all! I am trying to migrate my standard wordpress site to a headless site. I followed the Faust setup guide and changed the environment variables to my wordpress site but when I try to npm run dev it says error – Unable to find a GraphQL endpoint at *** and error – WPGraphQL may not be active, or your WordPress site is unavailable. I do not believe any of these errors are correct, because mywordpress.com/graphql (sample url, not actual site) returns the appropriate graphql page, the plug in is active, and the site is currently up. The only thing that I didn’t do from the Faust tutorial was change the front-end url, because when setting that to local it took down the old WP site. I had the idea of pulling the site from flywheel into Local but wanted to ask here before I did that.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer