0

I'm getting the following error while tried to webpack the application in windows 10 x64 b.

ERROR in ./node_modules/material-ui/styles/withStyles.js
Module not found: Error: Can't resolve '@babel/runtime/core-js/map' 

I searched on the github and stackoverflowbut don't find proper answer.

my Material UI is "material-ui": "^1.0.0-beta.47",. and "@babel/runtime": "^7.1.5",.

I see this and try that solutions. 1-npm install @babel/runtime 2-npm install @material-ui/core but I also have the error. How can i resolve this?

hamed hossani
  • 986
  • 2
  • 14
  • 33

1 Answers1

1

this is my answer https://github.com/babel/babel/issues/9026

The material-ui beta package is deprecated and buggy, hence the issue here. You should change to a stable version of @material-ui/core.

hamed hossani
  • 986
  • 2
  • 14
  • 33