使用yarn安装typescript时发生错误。 infothereappearstobetroublewithyournetworkconnection.retrying.infothereappearstobetroublewithyournetwoork ection.retrying withyournetworkconnection.retrying .运行以下命令:
yarnconfigsetregistry https://registry.NPM.Taobao.org/RM-RF/node _ modulesyarninstall-- no -大气大神-links
请确认没有错误后再运行。 否则,必须对错误进行故障排除。 另外,rm -rf node_modules,重新安装yarn也可能解决问题。