问题
I'm following instructions here to set up a sample:
I'm at this step:
Setup the sample with your project firebase use --add and follow the instructions.
But, I get the following error in command prompt:
I'm sure there's an easy fix, I'm just new.
回答1:
First install nodejs at your system using https://nodejs.org/en/download/
Then using npm package manager which comes with nodejs; install firebase with the help of this url https://www.npmjs.com/package/firebase-tools
回答2:
As Lalit said install first node.js then make sure that make sure that this went well by typing
node -v
and
npm -v
if these two tests went well install firebase as the following:
npm install -g firebase-tools
and since you are new please try copy past commands until you get used to them.
来源:https://stackoverflow.com/questions/44603218/error-not-recognized-as-an-internal-or-external-command