v0.20.0 Failed to compile - 'material-ui' does not contain an export named 'TableSortLabel'
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
App should start without issue with MUI compiling properly.
Current Behavior
I get the following error after installing v0.20.0 and running npm start
:
Failed to compile
./node_modules/@devexpress/dx-react-grid-material-ui/dist/dx-react-grid-material-ui.es.js
1071:4-18 'material-ui' does not contain an export named 'TableSortLabel'.
When l look in the node_modules
folder, there is no TableSortLabel.js
file in the Table
folder. I do see it in the repo though (https://github.com/mui-org/material-ui/blob/v1-beta/src/Table/TableSortLabel.js).
Steps to Reproduce (for bugs)
npm uninstall material-ui
npm install material-ui@latest
- Start your app (
npm start
,yarn start
, etc.) - See the “Failed to Compile” error.
Context
Can not start app with lastest version of MUI.
Your Environment
Tech | Version |
---|---|
Material-UI | 0.20.0 |
React | 15.6.1 |
browser | all |
etc |
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
v0.20.0 Failed to compile - 'material-ui' does not ... - GitHub
js 1071:4-18 'material-ui' does not contain an export named 'TableSortLabel'. When l look in the node_modules folder, there is ...
Read more >Compile error '@material-ui/core' does not contain an export ...
'@material-ui/core' does not contain an export named 'createStyles'. Is there a version of @material-ui/core that I can install that will stop ...
Read more >@material-ui/types | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >TableSortLabel API - Material UI - MUI
API reference docs for the React TableSortLabel component. Learn about the props, CSS, and other APIs of this exported module.
Read more >CHANGELOG.md · Gitee 极速下载/Material-UI - Gitee.com
Material UI 是一套实现了 Google 的 Material Design 全新设计语言的 CSS 框架.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Strong +1 on
@material-ui/core
. Scalable namespace.@mui-org/core-contributors I don’t think that we have reached a consensus. The current answer to the migration problem if you rely on external libraries is: “port everything in one go”. I still think that
@material-ui/core
package naming offers good potential. Feel free to weight your point of view.I’m closing the issue as I have been hijacking it. @mikeriley131 Sorry 😬 . The README.md has been updated. The v0.x/v1.x should be clearer now: