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

NodeError: write after end #59

Closed
vajahath opened this issue Jan 28, 2020 · 2 comments
Closed

NodeError: write after end #59

vajahath opened this issue Jan 28, 2020 · 2 comments
Assignees
Labels

Comments

@vajahath
Copy link
Owner

Causing critical issue in v3.1.0.
Hence it is deprecated and changed the tag.

Issue details. This happens in the writing phase.

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

NodeError: write after end
    at writeAfterEnd (/home/qbuser/.nvm/versions/node/v13.6.0/lib/node_modules/generator-ts-np/node_modules/readable-stream/lib/_stream_writable.js:261:12)
    at Duplexify.Writable.write (/home/qbuser/.nvm/versions/node/v13.6.0/lib/node_modules/generator-ts-np/node_modules/readable-stream/lib/_stream_writable.js:305:21)
    at DestroyableTransform.ondata (/home/qbuser/.nvm/versions/node/v13.6.0/lib/node_modules/generator-ts-np/node_modules/readable-stream/lib/_stream_readable.js:681:20)

@vajahath
Copy link
Owner Author

vajahath commented Feb 13, 2020

This issue was caused by inconsistent node_modules dependency tree.
Fixed by shipping the srinkwrap (cause lock files cannot be published) along with the package.

@vajahath
Copy link
Owner Author

wow great work vajahath
you're really good at this 👏

vajahath added a commit that referenced this issue Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant