-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
Emotion doesn't work with Remix Oxygen and other serverless platform #39929
Comments
This issue is not related to material-ui at all. It is complaining about |
@brijeshb42 your suggestion
|
Like I pointed out, the runtime issue lies with @emotion/server using some packages that depend on nodejs runtime. As for your |
Duplicates
Latest version
Steps to reproduce 🕹
The most popular Remix use case is Shopify Hydrogen. It by default supports Oxygen, Shopify's serverless platform. However, when I try material-ui's SSR setup with Oxygen, it thorws errors. Same with Netlify's Edge serverless platform.
Link to live example: https://github.com/guoyunhe/material-ui/tree/remix-oxygen
Steps:
Current behavior 😯
Failed to start dev server:
Expected behavior 🤔
Server should start without issues.
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
See also emotion-js/emotion#3126
The text was updated successfully, but these errors were encountered: