Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose' in 'C:\Users\alexa\apf2\node_modules\material-ui-pickers\DatePicker
See original GitHub issueEnvironment
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
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:37 (12 by maintainers)
Top Results From Across the Web
How to fix - Module not found: Can't resolve '@babel/runtime ...
js Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose' in 'E:\reactjs\deveans-react-version\node_modules\react ...
Read more >Module not found: Error: Can't resolve 'util' #18319 - GitHub
Describe the bug With a fresh build of storybook using react, webpack 5 and yarn PnP, I get an error during build: ERR!...
Read more >How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Basically, just change 'react-scripts' to 4.0.2 in your package.json and run `npm install` again :D Follow me on Twitter: ...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
you're importing some things from an outdated package; you're pointing to a file that does not exist. In the screenshot below, you can...
Read more >Module not found: Error: Can't resolve 'os' [Solved] | bobbyhadz
The error Module not found: Error: Can't resolve 'os' occurs because there has been a breaking change in Webpack version 5. To solve...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
objectWithoutPropertiesLoose
is 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?