Stripe JS SDK & next-on-pages Compatibility
Hi all - is it known if the Stripe SDK is compatible with
next-on-pages
? I have a NextJS app that I'd like to deploy on pages, and am using next-on-pages
to support SSR & bundling my /pages/api/*.ts
API's into workers, however, my pages builds are failing with:
./lib/stripe.ts
is essentially:
My stripe version is 12.6.0
While I know there is support for Stripe JS SDK in workers, would love to know if next-on-pages
supports Stripe. Thanks!1 Reply
Continuing the discussion on Github issues: https://github.com/cloudflare/next-on-pages/issues/286
GitHub
[🐛 Bug]: Importing Stripe fails next-on-pages builds · Issue #286 ·...
next-on-pages environment related information System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.1.0: Sun Oct 9 20:15:09 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 CPU: ...