-bash:firebase:找不到命令
问题描述:
我需要将网站托管到Google Firebase托管. 我几乎到处都在看,但是钢铁有问题. 我已经安装了 npm install --global firebase 和 npm install -g firebase-tools ,但是当我要使用firebase命令时,它说:找不到命令"
I need to host website to google firebase hosting. I looked almost everywhere but steel have the problem. I have installed npm install --global firebase also npm install -g firebase-tools but when I want to use firebase command it says : "command not found"
firebase-tools"-bash:firebase:未找到命令"
https://github.com/firebase/firebase-tools/issues/46
此帖子没有帮助
这是在 sudo npm安装--global firebase-tools
答
alias firebase="`npm config get prefix`/bin/firebase"