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.

Module not found: Can't resolve '@table-library/react-table-library/material-ui'

See original GitHub issue

When attempting to use the material-ui theme as given here: https://react-table-library.com/?path=/docs/library-themes-material-ui--base,

import { DEFAULT_OPTIONS, getTheme } from '@table-library/react-table-library/material-ui';

I get:

Module not found: Can't resolve '@table-library/react-table-library/material-ui'

Further, under Storybook > Lib themes > Material UI > Editable (https://react-table-library.com/?path=/docs/library-themes-material-ui--editable), it has:

import { DEFAULT_OPTIONS, getTheme } from '@table-library/react-table-library/themes/material';

That doesnt work either, and

import { DEFAULT_OPTIONS, getTheme } from '@table-library/react-table-library/themes/material-ui';

also doesnt work.

Am I missing something?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rwieruchcommented, Apr 19, 2022

That’s great to hear @zehawki Any feedback about this library is very much appreciated. Open issues and discussion and I will see how to improve things 😃

0reactions
zehawkicommented, Apr 19, 2022

Then I discovered how powerful this library is when using custom themes

@proddy I totally second that. When I hit this error, I decided to do my own theming, as you did, and now I have no intention of using the Material theme, hahaha.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not found: Can't resolve 'react-table/react-table.css'
Show activity on this post. I have create the app using create-react-app. Then I installed the react-table package(using command npm install -- ...
Read more >
@table-library/react-table-library - npm
Start using @table-library/react-table-library in your project by running `npm i @table-library/react-table-library`.
Read more >
React Table Library - GitHub
I myself ran into this problem after working with many different React table components -- from UI libraries but also from standalone libraries...
Read more >
React Table Tutorial:How to implement useTable and useFilter
We might remember using the class component of react-table, but now the library provides the Hooks-based APIs and plugins for creating a hassle- ......
Read more >
React Table Library
I myself ran into this problem after working with many different React table components -- from UI libraries but also from standalone libraries...
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