question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose' in 'C:\Users\alexa\apf2\node_modules\material-ui-pickers\DatePicker

See original GitHub issue

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

  1. 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:37 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
barbalexcommented, Jul 30, 2018

I use cra v2 too… ?

1reaction
barbalexcommented, Jul 30, 2018

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found