很高兴Firebase的托管服务现在已经过时了.尝试使用firebase-tools包,我已经成功安装了它:
npm install -g firebase-tools
Run Code Online (Sandbox Code Playgroud)
试图运行任何工具都失败了
-bash: firebase: command not found
Run Code Online (Sandbox Code Playgroud)
我已经尝试将以下命令放在我的.bash_profile中,但没有任何运气
export PATH=/usr/local/share/npm/bin:$PATH
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?一般来说,命令行很新.
谢谢!