After upgrading from 4.4.0 to 4.4.1, I get the following error message: node_modules/@material-ui/core/Grid/Grid.d.ts:4:33 - error TS2307: Cannot find module '@material-ui/lab/Skeleton'.
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.4.1 |
| React | 16.9.0 |
| Browser | Chrome 76 |
| TypeScript | 3.5.3 |
| etc. | |
Installing the @material-ui/lab solved problem for me.
npm i @material-ui/lab
yarn add @material-ui/lab
Confirmed. It was solved for me also (for v4.4.1) with:
"@material-ui/core": "^4.4.1",
"@material-ui/lab": "^4.0.0-alpha.26",
Just to pull in a type that it doesn't use ...
Oops
I can confirm the issue, this import is not supposed to be present:
https://github.com/mui-org/material-ui/blob/3f5c86b9236ac3f4e9a1fc14c864d5e4b95d4ba0/packages/material-ui/src/Grid/Grid.d.ts#L4
We should remove it.
Did b968c9a375d2d71745fa0165ac0d8d77bef74bc6 fix it? Can we expect a hotfix release soon?
@MayhemYDG Yes, it should fix the issue. You can expect the fix to be released, before next Monday.
Thanks for the patience, the fix was released under v4.4.2.
Most helpful comment
I can confirm the issue, this import is not supposed to be present:
https://github.com/mui-org/material-ui/blob/3f5c86b9236ac3f4e9a1fc14c864d5e4b95d4ba0/packages/material-ui/src/Grid/Grid.d.ts#L4
We should remove it.