Comments (2)
Hi, this can be closed. I was able to track a setting that was causing the issue.
In package.json, I have ”type": “module”
setting. And when I remove it, no more errors.
Thanks much!
from material-ui.
Hey @quad5, thanks for the report!
May I ask you to update your example, for example, in the shared code I cannot see how IconButton
is used. Also, could you provide a minimal reproduction? This would help a lot. A live example would be perfect. This StackBlitz sandbox template may be a good starting point. Thank you!
Did you take a look at our Next.js example?: https://github.com/mui/material-ui/tree/next/examples/material-ui-nextjs-ts
It might provide some guidance on the setup. You can also use it as a starting point.
from material-ui.
Related Issues (20)
- Joy UI: Disabled Link IconButton appearance appears to still be enabled HOT 5
- [joy-ui][Select] Option flickers for multiple and controlled Select
- Material UI 6 CssVarsProvider causes Suspense to reload async components HOT 3
- Can't integrate latest next.js with pages router with MUI
- Microsoft Ribbon Style HOT 3
- [RFC] Change Checkbox padding from 9px to 8px
- [material-ui][Divider] Add aria-orientation
- Accordion's bottom outline disappears when expanded (only in safari)
- [Typography] text color not working in v6 + Pigment CSS HOT 12
- [joy-ui][Select] Alignment problem for listbox of Select HOT 1
- Select with text input not working in your website demo HOT 1
- Cannot run React MUI - TypeError: can't access property "jsx", H is undefined HOT 2
- FocusTrap should not scroll the page HOT 3
- Data Grid Pro Header Not Adjusted with the width of browser. HOT 1
- [docs] expand on sx performance tradeoff HOT 1
- type checking and auto completion stops working when importing from @react-three/fiber HOT 2
- [material-ui][Modal] Bring back transition component in test that fails with React 19
- [material-ui][Switch] Doesn't show initial value when true HOT 2
- [joy-ui] Consider supporting system props in Sheet HOT 1
- [colorManipulator] lighten/darken a CSS var() color HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.