-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Incorrect @babel/runtime version #12587
Comments
I tried debugging this issue, but still unable to resolve it. Let's take the error:
I have 4
So it appears imports from material-ui will search in the TBH, I don't know what to do next. |
@Fandekasp It should be fine, both versions can live under the same bundle. Try reinstalling your dependencies. oliviertassinari/react-event-listener#90 is about flat installations. Your issue has been closed because it does not conform to our issue requirements. |
I also have similar problems when updating to 1.5.1 from 1.5.0.
|
I had this issue with this packages
Update @material-ui/icons to the lastet, current ^2.0.3 resolve my problem |
Same here - issue with react-event-listener and @babel/runtime. Error is: ERROR in ./node_modules/react-event-listener/dist/react-event-listener.cjs.js |
@guilherme-sol7 is right, to use |
Same problem with "@material-ui/core": "^1.5.1" and without "@material-ui/icons". It works on local, but fails on my integration server (codeship). SOLUTION: It works fine with strict "@material-ui/core": "1.5.0". And FYI, I use yarn install |
@remiroyc check the error carefully, maybe you have something else which depends on an older version of |
Wouldn't locking dependency versions or providing a Would you consider adding doing either? |
Lockfiles are not published. The smaller the version range the more likely you end up with a very big bundle which is a problem if your bundle has to be shipped to users. That's why every package in the dependency tree should agree to semantic versioning or everybody has to use exact versions because nobody guarantees non-breaking changes between version bumps. I do however agree that using a release candidates or beta version in releases marked as stable is concerning. Maybe more care should be taken when bumping those to get the full benefit. |
Expected Behavior
Building files with webpack shouldn't raise
@babel/runtime
errorsCurrent Behavior
Described in this react-event-listener issue.
Steps to Reproduce
Link:
Context
Looking at
@material-ui/core
packages.json, I see 2 conflicting dependencies:These 2 versions of babel runtime are incompatible.
Your Environment
The text was updated successfully, but these errors were encountered: