Closed Fade253 closed 1 year ago
I'm not entirely clear what you're trying to do here, so please clarify if I'm off base in my response.
node-windows creates and manages background services, such as web servers and APIs. React is a frontend framework that runs in browsers, not in Node. React has some node-based build tools (i.e. create-react-app
), but those aren't designed to be background services either.
node-windows would be more appropriate for a "main backend", i.e. the web server. It sounds like your backend is written in C#, so node-windows likely isn't the right fit for this scenario. If you had an Express/Restify/Fastify backend server, then node-windows would be a more appropriate fit.
If you need:
I'm going to close this since I don't think it is in the scope of what node-windows is for, but I will convert this issue to a discussion.
Is your feature request related to a problem? Please describe. i am trying to run node-windows with react but have no idea which file to run it with, i have tried the development server but that didnt have any luck at all, i have tried index, it hates imports, and tried the setup to the C# side i have that isnt the main backend and nothing works
Describe the solution you'd like Allow for just setting it up with index and not having to do anything else for react
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context if you cant make it work for index at least fix trying to run it with the development server as it gets an internal error trying to find the script folder the server is IN