How to install npm init packages with yarn?

recently, when I was learning yarn to copy the previous npm package.json package, I typed yarn install and then reported the following error. How to solve this problem?

info There appears to be trouble with your network connection. Retrying

May.22,2021

the error report is your network connection problem. Check your network condition to see if there is anything wrong with the agent.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf19ca-142d0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf19ca-142d0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?