Skip to content
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

Wrong cache write strategy #2

Open
Mamoru1234 opened this issue Apr 7, 2018 · 1 comment
Open

Wrong cache write strategy #2

Mamoru1234 opened this issue Apr 7, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@Mamoru1234
Copy link
Owner

When user has a lot of cache writes dspm got an error:

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: unexpected end of file
    at Gunzip.zlibOnError (zlib.js:153:15)

@Mamoru1234
Copy link
Owner Author

It looks like simultaneously extraction of nodes of dep tree node causes this issue.
When I changed this value to values lower than 8.
https://github.com/Mamoru1234/dspm/blob/master/src/main/resolvers/NpmDependencyResolver.ts#L36
Issue not reproduced using https://github.com/Mamoru1234/webpack3-sandbox.

@Mamoru1234 Mamoru1234 added the bug Something isn't working label Apr 7, 2018
Mamoru1234 added a commit that referenced this issue Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant