我也有类似的问题。问题来自于Autocomplete在我的 React Vite 应用程序上调用 MUI 组件。我不知道为什么MUI组件可以从文件中Autocomplete触发。TypeError: styled_default is not a functionPopper.js 我通过将 MUI Github 的一些答案结合到此处的文件中,使用组合解决了该问题vite.
Summary 💡 I updated my package.json and sometimes I get this error and it's not going away. But sometimes I don't get it. The problem is two-folded: It's intermittent (sometimes appears and sometimes goes away automatically) It does not ...
Closed Popper.js:9 Uncaught TypeError: styled_default is not a function#32727 Description mayankpandav mayankpandav added status: waiting for maintainerThese issues haven't been looked at yet by a maintainer on May 11, 2022 abhinav-22-tech commentedon May 11, 2022 ...
Popper.js:11 Uncaught TypeError: styled_default is not a function at Popper.js:11:20 (anonymous) @ Popper.js:11 I have also reported it to theMUI Team I have also seen that it's been askedhere. My problem is that the error does not give us more information. Is it a Vite bug? I...