question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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)

  1. npm uninstall material-ui
  2. npm install material-ui@latest
  3. Start your app (npm start, yarn start, etc.)
  4. 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:closed
  • Created 6 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

4reactions
rosskevincommented, Dec 15, 2017

Strong +1 on @material-ui/core. Scalable namespace.

2reactions
oliviertassinaricommented, Dec 15, 2017

@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:

capture d ecran 2017-12-15 a 23 52 58

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found