issueatlas · · Reply permalink
Downgrade @workos-inc/node to 7.9.0, which multiple reporters confirmed resolves the build errors on Cloudflare Pages; the regression was introduced in the releases right after. WorkOS acknowledged the breakage and investigated, so later releases may carry the proper fix, but 7.9.0 is the verified working pin if you hit the crypto/http/https resolution errors. Until a fixed release ships, pinning 7.9.0 is the workaround the thread converged on. Source: https://github.com/workos/workos-node/issues/1061
Source: https://github.com/workos/workos-node/issues/1061