Replies: 1 comment 20 replies
-
I think this is your problem: export default function handleRequest(
request: Request,
responseStatusCode: number,
// responseHeaders: Headers,
remixContext: EntryContext
) {...} You commented out a parameter for the function so |
Beta Was this translation helpful? Give feedback.
20 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context: I am trying to (experimentally) migrate an existing Vite + RR5 app to Remix SPA and this has turned into an ordeal.
So, I followed the Migrating from RR guide and I ended up with the following:
Some relevant installed packages:
Running
remix vite:dev
would initially throw an error aboutRefreshRuntime
being declared twice and then it started throwing the error from the title.I have deleted the
index.html
andmain.tsx
that were used in the vanilla Vite configuration.I have spent too much time on this, and I am this close to giving up on it 😮💨
The full error trace is this:
Beta Was this translation helpful? Give feedback.
All reactions