Closed marvinpinto closed 7 years ago
This issue is appearing for us too now with Webpack 3 and the new ModuleConcatenationPlugin
, getting errors about trying to stat paths like "path/to/entry.js + 25 modules".
@nickjj and @marvinpinto, could we get progress on this? I don't think the fix proposed here is quite correct, it changes the logic quite a bit. Previously all the checks needed to pass for addCurrentItem
to be set to true
. Now, if it is a valid file path that's the only thing needed to pass.
If @marvinpinto don't have time to follow up on this, I could submit another pull request to try and fix this, unless @nickjj has a solution planned.
Hi,
I haven't used Webpack 3 yet nor am I familiar with the changes it made to previous versions.
If you want to take a shot at a PR, I'd be open to it.
Ran into an issue where the variable
item.name
was being set to the stringtemplate of 204 referencing
for whatever reason, which resulted in thefs.lstatSync
call erring out.This PR adds some basic error handling around that call.
Sample slightly-sanitized stack trace: