无法将"firebase"识别为内部或外部命令,可操作程序或批处理文件 [英] 'firebase' is not recognized as an internal or external command, operable program or batch file

查看:194
本文介绍了无法将"firebase"识别为内部或外部命令,可操作程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到一个奇怪的问题,我刚刚在2019年2月1日更新了Node.js和NPM.并使用了以下命令-

I am in a bizarre problem, I just updated my Node.js and NPM at the date of 01-Feb-2019. And used the following command-

npm install -g firebase-tools

安装Firebase CLI

to install the Firebase CLI

然后键入下面的任何代码

Then on typing either of the code below

firebase login

firebase init

它显示以下错误

'firebase'无法识别为内部或外部命令, 可操作的程序或批处理文件.

'firebase' is not recognized as an internal or external command, operable program or batch file.

请帮助我.已经用了我两天了.

Please help me. It has already consumed my two days.

推荐答案

好.首先,奇异问题有一些奇异的解决方案. 完全卸载节点js和NPM. 然后重新安装它,并检查它是否有效. 祝你好运

Ok. First of all, Bizarre problem has some bizarre solution. Uninstall your node js and NPM completely. Then reinstall it, and check, whether it works or not. Best of Luck

这篇关于无法将"firebase"识别为内部或外部命令,可操作程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆