Subroh Nishikori
06/08/2021, 4:31 PM1.4.32
, but when I updated to Kotlin 1.5.x
, I was unable to resolve the @material-ui/core
dependency.
You can find it in the following repository ./gradlew :sample:run
command in the following repository. Any ideas on how to fix this would be great!Subroh Nishikori
06/08/2021, 4:31 PMSubroh Nishikori
06/08/2021, 4:33 PM$ ./gradlew :sample:run
> Task :buildSrc:compileKotlin
w: /Users/subroh_0508/oss/kotlin-material-ui/buildSrc/src/main/java/maven-publishing.gradle.kts: (37, 9): Variable 'snapshotsRepoUrl' is never used
> Task :kotlinNpmInstall
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core@4.11.4" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core@4.11.4" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-lab-js-legacy > @material-ui/lab@4.0.0-alpha.57" has unmet peer dependency "@material-ui/core@^4.9.10".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-lab-js-legacy > @material-ui/lab@4.0.0-alpha.57" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-lab-js-legacy > @material-ui/lab@4.0.0-alpha.57" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > @material-ui/styles@4.11.4" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > @material-ui/styles@4.11.4" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > @material-ui/system@4.11.3" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > @material-ui/system@4.11.3" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > @material-ui/utils@4.11.2" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > @material-ui/utils@4.11.2" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > react-transition-group@4.4.2" has unmet peer dependency "react@>=16.6.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > @material-ui/core > react-transition-group@4.4.2" has unmet peer dependency "react-dom@>=16.6.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-core-js-legacy > kotlin-react-dom > react-dom@17.0.2" has unmet peer dependency "react@17.0.2".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-sample > kotlin-wrappers-kotlin-styled-js-ir > styled-components@5.3.0" has unmet peer dependency "react@>= 16.8.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-sample > kotlin-wrappers-kotlin-styled-js-ir > styled-components@5.3.0" has unmet peer dependency "react-dom@>= 16.8.0".
warning "workspace-aggregator-686f0549-ef10-4cb5-bcb4-4e83c74518fb > kotlin-material-ui-sample > kotlin-wrappers-kotlin-styled-js-ir > styled-components@5.3.0" has unmet peer dependency "react-is@>= 16.8.0".
> Task :sample:browserDevelopmentRun
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: <http://localhost:8080/>
<i> [webpack-dev-server] On Your Network (IPv4): <http://192.168.3.6:8080/>
<i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8080/
<i> [webpack-dev-server] Content not from webpack is served from '/Users/subroh_0508/oss/kotlin-material-ui/sample/src/main/resources' directory
<i> [webpack-dev-middleware] wait until bundle finished: /
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Alert'
Module not found: Error: Can't resolve '@material-ui/core/Paper' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Alert'
Module not found: Error: Can't resolve '@material-ui/core/IconButton' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Alert'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Alert'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/AlertTitle'
Module not found: Error: Can't resolve '@material-ui/core' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/AlertTitle'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Autocomplete'
Module not found: Error: Can't resolve '@material-ui/core/Popper' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Autocomplete'
Module not found: Error: Can't resolve '@material-ui/core/ListSubheader' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Autocomplete'
Module not found: Error: Can't resolve '@material-ui/core/Paper' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Autocomplete'
Module not found: Error: Can't resolve '@material-ui/core/IconButton' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Autocomplete'
Module not found: Error: Can't resolve '@material-ui/core/Chip' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Autocomplete'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/Skeleton'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/ToggleButton'
Module not found: Error: Can't resolve '@material-ui/core/ButtonBase' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/ToggleButton'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/ToggleButton'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/ToggleButtonGroup'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/ToggleButtonGroup'
Module not found: Error: Can't resolve '@material-ui/core/Typography' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/TreeItem'
Module not found: Error: Can't resolve '@material-ui/core/Collapse' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/TreeItem'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/TreeItem'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/TreeItem'
Module not found: Error: Can't resolve '@material-ui/core/styles' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/TreeView'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/TreeView'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/internal/svg-icons'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/internal/svg-icons'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/internal/svg-icons'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/internal/svg-icons'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/internal/svg-icons'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/internal/svg-icons'
Module not found: Error: Can't resolve '@material-ui/core/utils' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/node_modules/@material-ui/lab/esm/useAutocomplete'
Module not found: Error: Can't resolve '@material-ui/core' in '/Users/subroh_0508/oss/kotlin-material-ui/build/js/packages/kotlin-material-ui-sample/kotlin'
<============-> 92% EXECUTING [5m 30s]
> :sample:browserDevelopmentRun > webpack 5.35.0 compiled with 32 errors in 3226 ms
Subroh Nishikori
06/08/2021, 4:33 PMBobHy
11/21/2022, 4:21 AM@mui/core
?