【问题标题】:Can't uninstall brew postgres无法卸载 brew postgres
【发布时间】:2016-03-01 17:56:51
【问题描述】:

我正在尝试运行 brew uninstall postgres,但出现以下错误:

我曾经安装过 postgres.app 和企业版。

Contents  brew uninstall postgres
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error: The current working directory doesn't exist, cannot proceed.

【问题讨论】:

    标签: postgresql homebrew


    【解决方案1】:

    可能您正在从一个不存在的目录运行该命令(或不再命名为它出现在终端上的等待)。为什么不再次尝试cd .cd "$PWD" 并再次尝试运行该命令。

    【讨论】:

      【解决方案2】:

      您正在一个不存在的目录中运行命令,关闭终端并重新打开它,或者只是重新启动您的 macOS。在重新启动操作系统之前,切勿删除任何目录。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2022-08-11
        • 2020-04-30
        • 2015-10-30
        • 1970-01-01
        • 2015-05-05
        • 2018-09-18
        • 1970-01-01
        • 2018-12-01
        相关资源
        最近更新 更多