firebase部署在终端中挂起

时间:2017-08-10 22:06:30

标签: macos firebase terminal macos-sierra firebase-tools

我正在尝试将项目上传到Firebase托管。我最近重新安装了macOS Sierra,因此需要重新安装Node和firebase-tools。

但是,运行firebase deploy --debug

时出现以下错误
[2017-08-10T21:54:40.043Z] --------------------------------------------
--------------------------
[2017-08-10T21:54:40.046Z] Command:       
/usr/local/bin/node/usr/local/bin/firebase deploy --debug
[2017-08-10T21:54:40.047Z] CLI Version:   3.9.2
[2017-08-10T21:54:40.047Z] Platform:      darwin
[2017-08-10T21:54:40.047Z] Node Version:  v8.3.0
[2017-08-10T21:54:40.048Z] Time:          Thu Aug 10 2017 16:54:40 GMT-
0500 (CDT)
[2017-08-10T21:54:40.048Z] --------------------------------------------
--------------------------

[2017-08-10T21:54:40.058Z] > command requires scope:["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform”][2017-08-10T21:54:40.059Z] > authorizing via signed-in user
[2017-08-10T21:54:40.061Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/dornfeld-design  
 Thu Aug 10 2017 16:54:40 GMT-0500 (CDT)
[2017-08-10T21:54:40.471Z] <<< HTTP RESPONSE 200 server=nginx, date=Thu, 10 Aug 2017 21:54:40 GMT, content-type=application/json; charset=utf-8, content-length=121, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store
[2017-08-10T21:54:40.472Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/name-of-project/tokens  
 Thu Aug 10 2017 16:54:40 GMT-0500 (CDT)
[2017-08-10T21:54:41.061Z] <<< HTTP RESPONSE 200 server=nginx, date=Thu, 10 Aug 2017 21:54:40 GMT, content-type=application/json; charset=utf-8, content-length=429, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store

什么是前进的最佳方式?我尝试使用3个不同版本的Node重新安装firebase-tools

补充意见:

  1. 必须使用firebase-tools命令安装--unsafe-perm才能安装。
  2. firebase init仅创建.firebaserc个文件和firebase.json个文件{}
  3. 使用适当的公用文件夹等手动创建firebase.json文件

0 个答案:

没有答案
相关问题