gregnb / gregnb/mui-datatables

Package not compatible with new versions of Node / npm / React

Open
#1,741 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Hey.

Getting error after updating my version of Node and React while using `npm i mui-datatables`:

```npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! peer react@"^16.11.0 || ^17" from @auth0/auth0-react@1.5.0
npm ERR! node_modules/@auth0/auth0-react
npm ERR! @auth0/auth0-react@"^1.5.0" from the root project
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/core@4.11.4
npm ERR! node_modules/@material-ui/core
npm ERR! peer @material-ui/core@"^4.0.0" from @material-ui/icons@4.11.2
npm ERR! node_modules/@material-ui/icons
npm ERR! @material-ui/icons@"^4.11.2" from the root project
npm ERR! 1 more (mui-datatables)
npm ERR! peer @material-ui/core@"^4.9.10" from @material-ui/lab@4.0.0-alpha.58
npm ERR! node_modules/@material-ui/lab
npm ERR! @material-ui/lab@"^4.0.0-alpha.58" from the root project
npm ERR! 2 more (the root project, mui-datatables)
npm ERR! 20 more (@material-ui/icons, @material-ui/lab, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0" from react-sortable-tree@2.8.0
npm ERR! node_modules/mui-datatables/node_modules/react-sortable-tree
npm ERR! react-sortable-tree@"^2.7.1" from mui-datatables@3.7.7
npm ERR! node_modules/mui-datatables
npm ERR! mui-datatables@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
```

| Tech | Version |
|--------------|---------|
| Material-UI | 4.11.4 |
| MUI-datatables | 3.7.7 |
| React | 17.0.2 |
| browser | Chrome |
| node | 16.3.0 |
| npm | 18.18.1 |

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.