Firebase托管:部署不起作用-停止并且未给出任何响应

时间:2018-08-15 05:56:41

标签: firebase firebase-hosting firebase-cli

我正在尝试在Firebase托管中部署一页网站,因此能够在本地系统上成功启动并服务该网站。

使用firebase deploy之后,服务器没有响应。我将其保存了12个小时以上,但仅停留在此位置,没有任何更新或部署。

请在此处查看日志:

 [debug] [2018-08-15T05:41:14.975Z] ----------------------------------------------------------------------
    [debug] [2018-08-15T05:41:14.975Z] Command:       C:\Program Files\nodejs\node.exe C:\Users\babu\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase deploy
    [debug] [2018-08-15T05:41:14.975Z] CLI Version:   3.18.6
    [debug] [2018-08-15T05:41:14.975Z] Platform:      win32
    [debug] [2018-08-15T05:41:14.975Z] Node Version:  v9.11.1
    [debug] [2018-08-15T05:41:14.975Z] Time:          Wed Aug 15 2018 09:41:14 GMT+0400 (Arabian Standard Time)
    [debug] [2018-08-15T05:41:14.975Z] ----------------------------------------------------------------------
    [debug] 
    [debug] [2018-08-15T05:41:14.985Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
    [debug] [2018-08-15T05:41:14.985Z] > authorizing via signed-in user
    [debug] [2018-08-15T05:41:14.994Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/functions-project-97a23  

     Wed Aug 15 2018 09:41:14 GMT+0400 (Arabian Standard Time)
    [debug] [2018-08-15T05:41:16.011Z] <<< HTTP RESPONSE 200
    [debug] [2018-08-15T05:41:16.011Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/functions-project-97a23/tokens  

     Wed Aug 15 2018 09:41:16 GMT+0400 (Arabian Standard Time)
    [debug] [2018-08-15T05:41:16.873Z] <<< HTTP RESPONSE 200

3个月前我已经完成了类似的任务,但是相同的程序现在无法正常工作。


这是我的命令行:

 E:\Download\Compressed\Extra\GGM>firebase deploy --only hosting
    ^CTerminate batch job (Y/N)? y

    E:\Download\Compressed\Extra\GGM>firebase serve

    === Serving from 'E:\Download\Compressed\Extra\GGM'...

    i  functions: Preparing to emulate functions.
    i  hosting: Serving hosting files from: GGMFinal
    +  hosting: Local server: http://localhost:5000

    Warning: You're using Node.js v9.11.1 but Google Cloud Functions only supports v6.11.5.
    i  functions: No HTTPS functions found. Use firebase functions:shell if you would like to emulate other types of functions.
    Shutting down...
    Terminate batch job (Y/N)? y

    E:\Download\Compressed\Extra\GGM>firebase functions:shell
    i  functions: Preparing to emulate functions.
    Warning: You're using Node.js v9.11.1 but Google Cloud Functions only supports v6.11.5.
    i  functions: No functions to emulate.
    No functions emulated.

    E:\Download\Compressed\Extra\GGM>firebase deploy
    ^CTerminate batch job (Y/N)? y

    E:\Download\Compressed\Extra\GGM>

0 个答案:

没有答案