Replies: 1 comment 1 reply
-
I think we need a way to analyze the bundle result. Esbuild provide the |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I was migrating one of the React, Redux, and React-Router-based app to Remix. Since my app was based out of the react-router I thought I can incrementally migrate my application to remix.
For the migration, I'm referring to this document. I have almost come to the end of the suggested migration steps.
When I'm trying to verify migrated app in the browser. It's failing to load the screen because it says :
Uncaught Error: Cannot initialize 'routeModules'. This normally occurs when you have server code in your client modules.
Check this link for more details: https://remix.run/pages/gotchas#server-code-in-client-bundles
Is there any way to identify the server code in the client bundle? I can't do it manually because it has a dependency on the 40-50 module.
Need suggestions on how to proceed further.
struggling from long time
Beta Was this translation helpful? Give feedback.
All reactions