#donalson-react-windows
1 messages · Page 1 of 1 (latest)
Hi, how are you ?
@exotic gale I'm sorry but I won't really be able to help with some local computer/Windows issue unfortunately with running the sample
donalson-react-windows
That sample is also quite old (over 2 years old) so you might be better off writing your own integration by following our docs
I don´t undertand why if i have .js files in my React project. when I run the project.
It is trying to open an .html file
\client\src\register.html
but that's for vanilla JS not React so it sounds like you're running the wrong example(s)
ok I've just installed the stripe client
and run
stripe samples create subscription-use-cases
Sure and then you get a sample that has many server and client options and you need to make sure you carefully read the readme for the right options
I've got options like use React and node javascript
but i don't understand now why it is trying to open an html file which doesn't exist.
Becusa i'm running an react project
okay I ran the command you ran and I think you're right something is broken
the server has app.get('/', (req, res) => { const path = resolve(process.env.STATIC_DIR + '/register.html'); res.sendFile(path); }); which is only for vanilla JS so I think this sample is unfortunately just old and not working
ok i understand. Yes. I think that the configuration steps doesn't work well.
It install JSX files extension but the core try to find vanillas
I don´t have to much experience with stripe integration. It is a really nightmare for me now.
I´ll try to install the project again but for vanilla i .
supouse
yeah or follow one of our guides instead https://stripe.com/docs/billing/quickstart
I got Error: error:0308010C:digital envelope routines::unsupported
I'm sorry I have no idea what those words mean
seems to be again your local installation here
My team is happy to help with code-focused questions but we unfortunately can't debug your own overall React installation on Windows and understanding how to debug things like this
yay!
Ok I´m doing tests