Closed ammarm08 closed 1 year ago
you’ll have to use stripe js on web. see the solito docs for tree shaking / platform-specific code. it doesn’t look like stripe react native has web support, so that would be an issue to open with them.
you’ll have to use stripe js on web. see the solito docs for tree shaking / platform-specific code. it doesn’t look like stripe react native has web support, so that would be an issue to open with them.
thanks for the quick response! will try that out
Hey there @nandorojo thanks for all your work with solito + its supporting monorepos.
The following error comes from a fresh install of the tailwind starter template. I've tried this with both Node versions 16.16 and with 18.0 (via
nvm
)I installed
@stripe/stripe-react-native
inapps/expo
. When I mount theStripeProvider
atpackages/app/provider
and then runyarn web
, I get the following error:Here's the supporting code:
I'm hoping this is a transpilation issue that has a straightforward solution. Alas, no luck so far.