This source code is reference to my post on Medium.
Create .firebaserc
file, then set default to your projectId.
{
"projects": {
"default": "projectId"
}
}
Install firebase-tools then run application.
> npm install -g firebase-tools
> firebase serve