score:0

For me the problem was solved by running yarn add @material-ui/data-grid And I don't see the @material-ui/data-grid package in your package.json so I think that is missing

score:0

Fixed it by importing @mui/material. The name was changed some time back.

score:1

For me the problem solved by running npm install / yarn install

score:3

After some research it turns out the tsconfig include section needs to be modified from the default value to find files in subdirectories.

Default include only finds files in the src folder

"include": [
  "src"
]

modified finds files in any subdirectory

"include": [
  "src/**/*"
]

Good reference on tsconfig.json

https://www.typescriptlang.org/docs/handbook/tsconfig-json.html

score:5

For me the problem was fixed by simply removing all the import declarations and adding them again.

score:7

I faced the same problem and my fix was to add "moduleResolution": "node" to tsconfig.json.


Related Query

More Query from same tag