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?

2
  • 1
    I remove babel/runtime and install older version 7.0.0 but it isn't correct answer. Commented Nov 15, 2018 at 14:24
  • 1
    I use npm update all package but not solved. Commented Nov 17, 2018 at 12:18

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.