解决方式:
# cd /usr/local/n/versions/node/11.6.0/lib/(node的安装目录下)
# rm -rf node_modules
# yarn cache clean
# yarn
参考链接:https://github.com/yarnpkg/yarn/issues/2629