yarn 错误There appears to be trouble with your network connection. Retrying...
原因:yarn超时
解决途径:
1、安装好后更换淘宝镜像
yarn config set registry https://registry.npm.taobao.org
nodejs安装依赖包使用阿里镜像
npm install --registry=https://registry.npm.taobao.org
树莓派安装配置nodejs
https://www.jianshu.com/p/726a5f34e541
https://www.jianshu.com/p/5cf4df8806c0
树莓派全局安装包以后 都要软链接一下
sudo ln -s /usr/local/node/bin/nrm /usr/bin/nrm