"process is not defined" error from Remix <Scripts />
tag
#10532
Unanswered
RobertGemmaJr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm moving from the classic Remix compiler to the Vite compiler on my way to React Router v7! I have just about everything set correctly but I'm getting this warning:
I've narrowed the issue down to the
<Scripts />
component from Remix but the migration guide keeps it.These are the two scripts it adds:
I believe the error is coming from the second script but it's hard to tell. The call within the chunk is just a
process.env.NODE_DEBUG
Is there any way to further diagnose this?
Beta Was this translation helpful? Give feedback.
All reactions