我收到此错误:
程序"brew"当前未安装。您可以通过键入以下内容来安装它: sudo apt install linuxbrew-wrapper 非法选项 -s 用法:/usr/bin/which [-a] args 人路径:无法设置区域设置;确保 $LC_* 和$LANG正确/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 1:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: H: 协议错误/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 2:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: H__PAGEZERO__TEXT M M: 协议错误/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 3:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node:/__dof_node__TEXT//__unwind_info__TEXTT/TT/__eh_frame__TEXT0*1@ 0*__DATA M M : 协议错误/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 4:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 语法错误: 单词意外(期望"("( nvm 与 npm 配置"前缀"选项不兼容:当前设置为 " 运行npm config delete prefix
或nvm use --delete-prefix v9.5.0 --silent
以取消设置它。 人路径:无法设置区域设置;确保 $LC_* 和$LANG正确/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 1:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: H: 协议错误/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 2:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: H__PAGEZERO__TEXT M M: 协议错误/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 3:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node:/__dof_node__TEXT//__unwind_info__TEXTT/TT/__eh_frame__TEXT0*1@ 0*__DATA M M : 协议错误/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 4:/home/vagrant/.nvm/versions/node/v9.5.0/bin/node: 语法错误: 单词意外(期望"("( nvm 与 npm 配置"前缀"选项不兼容:当前设置为 " 运行npm config delete prefix
或nvm use --delete-prefix v9.5.0 --silent
以取消设置它。 -bash:/usr/libexec/java_home: 没有这样的文件或目录
通过检查流浪文件来解决它,由于行放错位置而出错。