-
-
Notifications
You must be signed in to change notification settings - Fork 15.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
Error: Can't resolve './defineProperty' #4174
Comments
This isn't a Redux issue. |
🤔 Did you read webpack/webpack#11467 ? You're shipping a package.json with
Yes Javascript is insane, everything is everyone's problem and no one's problem. But do you want Redux to work correctly in Webpack 5? |
I'm not the first to have this problem and I won't be the last. I'm just the first to report it. Your incredibly rude and dismissive response makes me wonder why I waste my time. I've already worked around the problem, but the reality is that this is a bug in your software. Just thought you might like to know! I get it. Open source is hard. People are ungrateful. I know that better than anyone. But come back to Earth for 5 seconds and reread this please. |
My man, please take a chill pill. It'll be OK. We aren't shipping a This is actually a Babel issue, we're just one of the transitive dependencies that brought it to your attention. The good news is it was fixed in babel/babel#10853 and shipped in 7.12.0. Make sure you're using at least that version and you should be good to go. |
I'm kinda confused, because by definition, What other versions of |
It was the lock file. Apparently |
Adding |
I have upgraded from v4.0.5 to v4.1.1. When compiling with Webpack 5, it fails with this error:
It seems to be related to this issue: webpack/webpack#11467
Adding the following into my Webpack rules fixes the problem:
The text was updated successfully, but these errors were encountered: