Missing proper 'which' command. Make sure it is installed before using RVM

打开终端报错这个

ERROR: Missing proper 'which' command. Make sure it is installed before using RVM!
WARNING:
      Errors sourcing '/Users/ma/.rvm/scripts/base'.
      RVM will likely not work as expected.

百度了一堆解决办法然后删除了rvm不报错了,但是还需要用到rvm,最后找到问题原因是yarn global add xxx引发的,解决办法目前采取了yarn global remove xxx解决问题
更多解决方式参考:
https://issues.jenkins-ci.org/browse/JENKINS-20636?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel

https://github.com/yarnpkg/yarn/issues/2064

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。