-bash:firebase:找不到命令 [英] -bash: firebase: command not found
本文介绍了-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"
这篇关于-bash:firebase:找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文