Can't "yarn install" anymore since last update
ezera23 opened this issue · 2 comments
Hi Yuichi,
I can't yarn install anymore since the last update. Any ideas?
➤ YN0000: ┌ Resolution step ➤ YN0000: └ Completed ➤ YN0000: ┌ Fetch step ➤ YN0013: │ @ethersproject/networks@npm:5.5.2 can't be found in the cache and w ➤ YN0013: │ @ethersproject/providers@npm:5.5.2 can't be found in the cache and ➤ YN0013: │ @ethersproject/random@npm:5.5.1 can't be found in the cache and wil ➤ YN0013: │ ethers@npm:5.5.3 can't be found in the cache and will be fetched fr ➤ 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:134: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) ➤ 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:134: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) ➤ 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:134: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) ➤ 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:134: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) ➤ YN0000: └ Completed in 2s 586ms ➤ YN0000: Failed with errors in 2s 795ms
I just remember, I used to have this problem....
just 'yarn set version latest' fixed the issue. Issue closed.
"Yarn set version berry" works for me if the other solution doesn't work