New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Express Vite template loads white screen in production mode #9275
Comments
Same thing happens with the Cloudfare template https://test-remix-cloudfare-app.pages.dev/ A fresh no-template Remix install is also failing on Fly.io: https://remix-fly-io-test.fly.dev/. Same steps to reproduce as the original report, but using the Cloudfare template in the first one and no template in the second one. Also same thing that |
override rollup to 4.15.0, this is rollup issue. |
Thank you! That fixed it on both cases. |
@changeyoucant are you sure you've set the override for rollup correctly? That error disappeared for me when I fixed rollup as mentioned above. "pnpm": {
"overrides": {
"rollup": "4.15.0"
}
} |
As folks have pointed out above, this is due to an issue in Also a duplicate of #9271 The proper workaround for now is to use |
This should be resolved in rollup 4.16.2: https://github.com/rollup/rollup/releases/tag/v4.16.2 |
Forgive me if I'm wrong.. But since this affects production builds, it should be announced some where? As for me, when i look up issues - i search for open issues - and this is now closed. So it might be hard for someone to figure out... |
Why wouldn't this be closed if the issue is now fixed in rollup |
edit: never mind, just tested this and it is no issues in the template any longer... ;D Why? Because when you pull down the template and try to deploy it you be left out not knowing why your pages aren't rendering...? And by logic you will look for issues that are currently open , not closed issues to try to figure out why... It is not obvious for non contributors that it is rollup that is the issue |
Reproduction
(note: npm run dev works fine. seems to be an issue with the production build)
System Info
Used Package Manager
npm
Expected Behavior
I expected to see the default "Welcome to Remix" page.
Actual Behavior
The "Welcome to Remix" page flashes on the screen and then the screen goes completely blank. These errors are thrown in the console. I did this in a private window with no extensions.
The text was updated successfully, but these errors were encountered: