felvin-search / instant-apps

Your search box is now an app store! 🎉
https://felvin.com
Other
94 stars 47 forks source link

yarn add failes with Premature close error #318

Closed hargup closed 2 years ago

hargup commented 2 years ago
$ yarn add sass-loader

➤ 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:136:30)
    at PassThrough.emit (node:events:526:28)
    at emitCloseNT (node:internal/streams/destroy:145:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
sahil-shubham commented 2 years ago

Couldn't replicate the error on my side, you can try deleting all the node_modules and trying yarn install again before adding the package again.

Let me know if that doesn't work.

hargup commented 2 years ago

Thanks for checking it out, probably some error with my system.