[Bug?]: node17 compat: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
See original GitHub issueSelf-service
- I’d be willing to implement a fix
Describe the bug
Fetch step ➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at new NodeError (node:internal/errors:371:5) at PassThrough.onclose (node:internal/streams/end-of-stream:122:30) at PassThrough.emit (node:events:390:28) at emitCloseNT (node:internal/streams/destroy:145:10) at processTicksAndRejections (node:internal/process/task_queues:82:21)
To reproduce
https://github.com/weiran-zsd/dts-cli/runs/3947685268
Environment
os: ubuntu-latest
Node.js: v17.0.0
yarn: v3.0.2
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:23
- Comments:13 (1 by maintainers)
Top Results From Across the Web
npm ERR! premature close when using npm install
In my case, the package I was trying to install had a dependency on a Git repository that didn't have a package.json defined...
Read more >I cant create react app - Reddit
2 can't be found in the cache and will be fetched from the remote registry ➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close at ......
Read more >Node v17.0.0 (Current)
If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application with Node.js 17, it's likely that your application or a module you're using ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

yarn set version latest.node:latest=>node:lts).@aladdin-add , Thank you! ❤️
yarn set version berryand upgraded tov3.1.0, it DOES solved the problem! 🎉