material-ui-pickers: Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose' in 'C:\Users\alexa\apf2\node_modules\material-ui-pickers\DatePicker
Environment
| Tech | Version |
|---|---|
| material-ui-pickers | 1.0.0-rc.12 |
| material-ui | 1.4.2 and 1.4.1 |
| React | 16.4.1 |
| Browser | Chrome 67.0.3396.99 |
| Platform | Windows 10 |
Steps to reproduce
- Update from 1.0.0-rc.11 to 1.0.0-rc.12 in my project
Expected behavior
No error
Actual behavior
./node_modules/material-ui-pickers/DatePicker/DatePickerWrapper.js
Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose' in 'C:\Users\alexa\apf2\node_modules\material-ui-pickers\DatePicker'
Live example
Tried but got different error: https://codesandbox.io/s/y2rv56yrl9
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 37 (12 by maintainers)
I use cra v2 too… ?
I have removed node_modules and reinstalled dependencies multiple times with multiple versions of material-ui-pickers. Since I updated to v1.0.0-rc.12 this error persists.
I have also tried running
yarn cache clean, without success.The weird thing is that
objectWithoutPropertiesLooseis exactly where it is supposed to be. And the file looks perfectly o.k. from what I can tell when opening it.But it does look like this would probably be more of an yarn issue than material-ui-pickers?