Description
The current issue is that if your WordPress build is returning a 500X error, when you run faust build or faust generatePossibleTypes you will get the following error
error - Validation Failed: Your Faust front-end site URL value is misconfigured. It should NOT match the NEXT_PUBLIC_WORDPRESS_URL.``
This is due to else statement - https://github.com/wpengine/faustjs/blob/canary/packages/faustwp-cli/src/healthCheck/validateNextWordPressUrl.ts#L31
Steps to reproduce
- Have a failing WP build
- Run
npm run build or npm run generate
Additional context
No response
@faustwp/core Version
Any
@faustwp/cli Version
Any
FaustWP Plugin Version
Any
WordPress Version
Any
Additional environment details
No response
Please confirm that you have searched existing issues in the repo.
Description
The current issue is that if your WordPress build is returning a 500X error, when you run
faust buildorfaust generatePossibleTypesyou will get the following errorerror - Validation Failed: Your Faust front-end site URL value is misconfigured. It should NOT match theNEXT_PUBLIC_WORDPRESS_URL.``This is due to else statement - https://github.com/wpengine/faustjs/blob/canary/packages/faustwp-cli/src/healthCheck/validateNextWordPressUrl.ts#L31
Steps to reproduce
npm run buildornpm run generateAdditional context
No response
@faustwp/core Version
Any
@faustwp/cli Version
Any
FaustWP Plugin Version
Any
WordPress Version
Any
Additional environment details
No response
Please confirm that you have searched existing issues in the repo.