#faz919-react
1 messages · Page 1 of 1 (latest)
more detailed log
Hi, qq do you use Stripe as a dependency in your React app?
yes
i have stripe, '@'stripe/stripe-js, and '@'stripe/react-stripe-js in my package.json
ah shoot
You have ... both?
Looking at the error I have a feeling it's something with the react app setup not quite related to Stripe package
i needed the stripe package to use stripe.billingportal.sessions
supposedly
because i had an older version of it and stripe.billingPortal.sessions didn't work, but then when I updated it to latest it worked
either way it keeps asking about this nextjs plugin even though i'm not uploading a next.js app
here's my netlify.toml file if it helps:
`[build]
command = "CI= npm run build"
publish = "build/"
[functions]
directory = "functions/"
[dev]
command = "npm start" # Command to start your dev server
port = 3000 # Port that the dev server will be listening on
publish = "src" # Folder with the static content for _redirect file
`
Hi, sorry. It looks like there is something wrong with react setting. I am not quite familiar with it. If you figure it out caused by the stripe package, please let me know
ok
oh man i'm sorry
i just realized i'm asking about netlify on a stripe discord
hahahah my bad
i thought i was on the netlify discord this whole time
i should probably get more sleep lololol
Np and good luck!