use*_*933 4 firebase firebase-tools serve
我一直在迁移到Firebase 3.0,并且随着新的更改,我们必须firebase serve在CLI上使用本地开发,我相信这默认为端口5000.但是,经过init进程后,运行firebase serve没有做任何事情在"启动Firebase开发服务器..."之后,即使指定了端口5000.尝试修复:
firebase init无休止地调整lsof -i tcp:5000 这是调试日志:
[debug] ----------------------------------------------------------------------
[debug] Command: /usr/local/bin/node /usr/local/bin/firebase serve -p 5000 --debug
[debug] CLI Version: 3.0.0
[debug] Platform: darwin
[debug] Node Version: v6.2.0
[debug] Time: Sun May 22 2016 01:29:59 GMT+0200 (CEST)
[debug] ----------------------------------------------------------------------
[debug]
[info] Starting Firebase development server...
[info]
[info] Project Directory: /Users/user/Documents/localdev/spfwork
Run Code Online (Sandbox Code Playgroud)
有关如何修复的任何想法?
谢谢您的帮助.
修复 - firebase serve来自firebase-tools(npm)缺少一个记录器来解决一些错误,我在这里的pull请求中添加了:https://github.com/firebase/firebase-tools/pull/143
我的错误是localhost由于某种原因没有启动,所以我将命令更改为firebase serve -p 5000 -o 127.0.0.1,并指定监听端口允许服务器成功启动.
作为参考,错误是 Error: getaddrinfo ENOTFOUND localhost
| 归档时间: |
|
| 查看次数: |
10090 次 |
| 最近记录: |