Error: EMFILE: too many open files, watch

Hmmm. I am not familiar with this --watch-options-stdin. The info I saw - somewhere - strongly implied I should drop --watch-stdin.

e.g. the top two google results for watch-stdin:

Which links to the fix:

From the docs:for watch-options-stdin:

Stop watching when stdin stream has ended

Apparently I have 90 copies of webpack running. Oh, that would explain it.

Will make the change, kill my webpacks, and hopefully that will fix this.

Thanks!

It would be good if there was an authoritative source somewhere of correct changes required to the webpack stuff from the standard phoenix template.

See also Webpack error after upgrading mini-css-extract-plugin@1.6.2 - #3 by derek-zhou for an example of just another problem this has caused me.