Replies: 3 comments 3 replies
-
|
hey! this probably should have been opened on the react router repo instead of the remix repo, but i can try to help you nonetheless. you should be able to use |
Beta Was this translation helpful? Give feedback.
-
|
@MonstraG You can usually pass Node runtime flags via For your self-signed cert case, try: Examples:
That keeps your package script unchanged while still applying Node flags to the process tree. Sources: |
Beta Was this translation helpful? Give feedback.
-
|
I don't think this should be solved by trying to pass flags through For a local trusted root CA, I'd try one of these first:
On newer Node versions there's also I would avoid So the fix is less "how do I pass flags to react-router?" and more "make the Node process trust the dev certificate chain before |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
With running default package.json dev script:
I have the ability to pass, for example,
--profileto enable Node.js profiler. I would like to be able to pass any Node.js option. How to do that?In avoidance of X/Y problem, I'm specifically hitting
because my React router app is making a request to .Net backend which is running on a self-signed development certificate.
P.S. I arrived to this repo coming from
[Usage question] in https://github.com/remix-run/react-router/issues/new/choose, move me if that's not right.
Beta Was this translation helpful? Give feedback.
All reactions