Material-table: Table unusable on v1.56.0

Created on 25 Jan 2020  路  2Comments  路  Source: mbrn/material-table

Describe the bug

material-table is unusable on the latest version 1.56.0. When attempting to use the main MaterialTable component, I get the following error:

Could not find dependency: 'material-ui-pickers' relative to '/node_modules/material-table/dist/components/m-table-edit-field.js'

To Reproduce

Try the Getting Started example. CodeSandbox available here.

Expected behavior

The table renders properly.

Desktop (please complete the following information):

  • OS: macOS Catalina
  • Browser: Chrome
  • Version 79.0.3945.117

Like mentioned above, this also occurs in an isolated CodeSandbox, so it's likely not a local dependency issue.

Additional context

Rolling back to v1.55.0 in the CodeSandbox fixes the issue, suggesting this is a new bug.

Viewing material-table/dist/components/m-table-filter-row.js shows the following line from the Babel output:

var _materialUiPickers = require('material-ui-pickers');

Shouldn't this be importing from @material-ui/pickers? Not sure where material-ui-pickers is coming from - doing a search of it in the repo doesn't have any results.

Most helpful comment

I solved it with 1.56.1

It is about Travis error. Travis didn't publish new version and i publish it manually.

All 2 comments

Hi @chrissantamaria ,

I am looking it. Let me resolve it.

I solved it with 1.56.1

It is about Travis error. Travis didn't publish new version and i publish it manually.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bohrsty picture bohrsty  路  3Comments

jlgreene2 picture jlgreene2  路  3Comments

VipinJoshi picture VipinJoshi  路  3Comments

Mihier-Roy picture Mihier-Roy  路  3Comments

slevy85 picture slevy85  路  3Comments