Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using old version of babel #13064

Closed
Alecell opened this issue Oct 1, 2018 · 1 comment
Closed

Using old version of babel #13064

Alecell opened this issue Oct 1, 2018 · 1 comment

Comments

@Alecell
Copy link

Alecell commented Oct 1, 2018

MUI current version isnt compatible with current babel runtime version.

  • [ x ] This is not a v0.x issue.
  • [ x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Install MUI and it works fine without crashes

Current Behavior

Install MUI that requires babel runtime is ok, but MUI requires interopRequireDefault from babel, but It was removed the builtin helpers since v7.0.0-beta.56 as I found here: jquense/yup#216

Steps to Reproduce

npm install @material-ui/core
npm install @babel/runtime

brings the error: ./node_modules/@babel/runtime/helpers/builtin/interopRequireDefault.js
Module build failed: Error: ENOENT: no such file or directory, open '/home/alecell/nomikos/nomikos-front/node_modules/@babel/runtime/helpers/builtin/interopRequireDefault.js'

Link:

1.jquense/yup#216

Context

I try to update my MUI version because of a bug in the select component and get the error.

Your Environment

Tech Version
Material-UI v1.5.1
React 16.4
Browser Chrome Versão 69.0.3497.100
TypeScript es6
etc.
@oliviertassinari
Copy link
Member

@Alecell It was fixed in v3. Try using the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants