Firebase CLI 在 Ubuntu 上出现分段错误

Sou*_*mes 5 firebase google-cloud-platform firebase-tools

我在使用 firebase CLI 时遇到了困难,当我使用 npm 安装它时,无论是在项目本地还是全局,我调用firebase它提供的命令Segmentation fault,但没有进一步的细节。

我首先认为问题出在我的 Node 版本上,因为我使用的是 9.x,我移回到 8.x 版本,并重新安装了 firebase,但没有成功,我升级到 12.x,也没有成功,总是出现相同的错误。

我正在使用 NVM 正确处理我的节点版本,但仍然找不到解决此问题的方法。

nvm 列表给出了这个:

 ->      v8.11.3
        v8.13.0
        v12.3.0
         system
Run Code Online (Sandbox Code Playgroud)

当我运行npm list firebase-tools它时firebase-tools@7.9.0,我也尝试卸载并重新安装,但没有成功。