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.

missingDeps.some not a function

See original GitHub issue

https://github.com/facebook/create-react-app/blob/69cc07f2e3400d01c5db134659c762eb850ae3c8/packages/react-dev-utils/WatchMissingNodeModulesPlugin.js#L25

I am getting

TypeError: missingDeps.some is not a function

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

33reactions
echenleycommented, Jul 27, 2018

@ashnur This appears to be fixed in the Webpack 4 upgrade PR, which is available via react-dev-utils@6.0.0-next.3e165448.

20reactions
Timercommented, May 15, 2018

Please upgrade your Node version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: .some Is not A Function React JS Error
some and I keep TypeError: userFavorites.some is not a function . I appreciate any help! javascript · arrays · reactjs · error-handling.
Read more >
Migrate webpack v3 to v4 in create-react-app ejected version.
TypeError: missingDeps.some is not a function. — upgrade react-dev-utils to the latest version. If this will not work uscoulde next version ...
Read more >
Webpack3 升级到webpack4 时遇到的问题汇总 - CSDN博客
错误提示中,提示 react-dev-utils 包有问题, TypeError: MissingDeps.some is not a function 。 解决方案:升级 react-utils-dev ...
Read more >
DefinePlugin | webpack
The DefinePlugin replaces variables in your code with other values or expressions at compile time. This can be useful for allowing different behavior ......
Read more >
一次create-react-app创建项目升级webpack的流水账
Plugin could not be registered at ... TypeError: Cannot read property 'eslint' of undefined ... missingDeps.some not a function.
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