2017-06-21 48 views
0

我在codeanywhere html5连接上安装了firebase。当我试图运行shell命令>firebase login,响应给了我一个网址,以登录到推出的日志记录,并允许权限后,它重定向到本地主机URL与此错误:使用codeanywhere HTML5连接登录firebasebase/devbox

This site can’t be reached 

localhost refused to connect. 
Search Google for localhost 9005 
ERR_CONNECTION_REFUSED 

从codeanywhere框中使用Firebase时,什么是适当的登录方式?

谢谢!

回答

1

由于Codeanywhere不是本地的环境,你将需要追加--no-localhost的火力点登录命令:

$ firebase login --no-localhost 

这将生成常用的登录网址,但完成后,您将获得授权令牌粘贴到CLI中。

此处的进一步说明: https://www.npmjs.com/package/firebase-tools