-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
missingDeps.some not a function #4466
Comments
Please upgrade your Node version. |
can you please tell me which version I should install?
|
Set doesn't have some, SortableSet doesn't have some. I don't understand, did some node version have Set with a .some method, ever? |
Thanks @Timer, you really "helped" me. I wish for you to be helped by everyone the same way you handled this issue. |
If you followed the issue template instead of ignoring it we may have been able to provide you with better assistance the first time around. |
Actually, your template says that if I don't know if it's a bug, I don't have to use it. Yesterday I didn't search between the closed issues because I didn't assume that you would close unsolved issues. Now I know better, having experienced otherwise how things go around here. I have installed https://www.npmjs.com/package/react-dev-utils @ 5.0.1 which is the latest. May I ask when the fix will be published on npm too? |
Unfortunately, we do not have enough information to help you. I'm sorry if I gave you a terse first response, but most of these issues that come through like this are related to an old Node version. If you can replicate this with a non-ejected setup, please provide all of the information the issue template states and reproduction steps. I'll close this until more information is provided, as this issue doesn't seem wide-spread. |
I don't have to replicate, you have it fixed already, I just asked when you gonna publish? Until then I am using a local copy of the PR with the fixes. Which is not great, but what can we do? Would be nicer if issues were not closed until the fix is published. |
Publishing that version is a few months out. |
@Timer I'm getting same issue. I'm using react-dev-utils package (5.0.1) and it's ejected version. I tried upgrade to react-dev-utils@next as well but no luck. Can you please help?
|
@vireshshah we are going to have to wait "a few months". :) Until then I suggest to you to use a local copy of the repo where you can apply the patches you need. (or use an earlier version of webpack). |
Also having the same issue. Not sure how to come around it yet. @ashnur which webpack version would solve the problem, do you know? |
I really don't know, I am just assuming that this is about version 4, 3 should work then. Ask @Timer which version they suggest you to use... |
The current version of You cannot use webpack 4 unless if you re-write a significant portion of tooling yourself, or wait for the release of |
@ashnur This appears to be fixed in the Webpack 4 upgrade PR, which is available via |
Finally we got this working by using |
npm install The problem still exists and has not been resolved。 |
@echenley Thanks man! Next round of beers on me 🍻 |
@echenley Thanks! Worked perfectly! |
@echenley, you deserve a special place in heaven with free WiFi. |
create-react-app/packages/react-dev-utils/WatchMissingNodeModulesPlugin.js
Line 25 in 69cc07f
I am getting
It's a SortableSet from here https://github.com/webpack/webpack/blob/master/lib/util/SortableSet.js and it doesn't have a
.some
method, so I am not sure how to fix this.The text was updated successfully, but these errors were encountered: