Material-ui: Module not found: Can't resolve '@material-ui/core/utils' in 'some-project\node_modules\@material-ui\lab\esm\Slider'

Created on 21 Jun 2019  路  3Comments  路  Source: mui-org/material-ui

this issure is in file "./node_modules/@material-ui/lab/esm/Slider/Slider.js" line 15

import { setRef, withForwardedRef } from '@material-ui/core/utils';
version:
"@material-ui/core": "^3.9.3",
"@material-ui/icons": "^3.0.1",
"@material-ui/lab": "^4.0.0-alpha.14",

Slider duplicate

Most helpful comment

@zoutong123 You can鈥檛 use v3 of @material-ui/core with v4 of @material-ui/lab please upgrade core. Also it looks like you might be importing the slider with @material-ui/lab/Slider/Slider we don鈥檛 support that level of importing please use @material-ui/lab/Slider or import {Slider} from@material-ui/lab`

All 3 comments

@zoutong123 You can鈥檛 use v3 of @material-ui/core with v4 of @material-ui/lab please upgrade core. Also it looks like you might be importing the slider with @material-ui/lab/Slider/Slider we don鈥檛 support that level of importing please use @material-ui/lab/Slider or import {Slider} from@material-ui/lab`

@joshwooding I see, thanks.

import Slider from '@material-ui/core/Slider';

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mnajdova picture mnajdova  路  105Comments

nathanmarks picture nathanmarks  路  100Comments

celiao picture celiao  路  54Comments

chadobado picture chadobado  路  119Comments

tleunen picture tleunen  路  59Comments