Firebase hosting deploy error

634 views
Skip to first unread message

Douwe van Dijk

unread,
Aug 22, 2018, 6:30:14 AM8/22/18
to Firebase Google Group
Hi,

Since this morning I am not able to deploy my sites anymore. I have updated to the latest CLI ( since the announcement of the multi site functionality ). Followed the steps in this link: https://firebase.googleblog.com/2018/08/one-project-multiple-sites-plus-boost.html

firebase target:apply hosting blog my-cool-blog
firebase deploy blog
The first line works, but getting error when try to deploy: ERROR: too many arguments. Then I try to restart from scratch with firebase init etc etc, but still no luck. Finally I tried to just do: firebase deploy, but I am waiting more than an hour already and nothing happens.

Anyone else experiencing issues?

Regards, Douwe

Douwe van Dijk

unread,
Aug 22, 2018, 8:20:55 AM8/22/18
to Firebase Google Group

Update: deploy now fails with error: "JavaScript heap out of memory"

Op woensdag 22 augustus 2018 12:30:14 UTC+2 schreef Douwe van Dijk:

Diana Tkachenko

unread,
Aug 22, 2018, 3:36:41 PM8/22/18
to Firebase Google Group
Hi Douwe,

I got the same error of "too many arguments" when I ran firebase deploy blog using an older version of the CLI. Please make sure you are on version 4.2.0.
After you've made sure you're updated to the right CLI version, please paste the output of firebase deploy --debug as well as the contents of your firebase.json file.

Thanks!
Diana

Douwe van Dijk

unread,
Aug 23, 2018, 4:51:47 AM8/23/18
to Firebase Google Group
Hi,

I updated ( again ) to 4.2.0 but get the same error. This is the .log (sqapp is my sitename)

[debug] [2018-08-23T08:50:25.454Z] ----------------------------------------------------------------------
[debug] [2018-08-23T08:50:25.458Z] Command: /usr/local/bin/node /usr/local/bin/firebase deploy sqapp --debug
[debug] [2018-08-23T08:50:25.459Z] CLI Version: 4.2.0
[debug] [2018-08-23T08:50:25.459Z] Platform: darwin
[debug] [2018-08-23T08:50:25.459Z] Node Version: v8.9.1
[debug] [2018-08-23T08:50:25.459Z] Time: Thu Aug 23 2018 10:50:25 GMT+0200 (CEST)
[debug] [2018-08-23T08:50:25.460Z] ----------------------------------------------------------------------
[debug]
[error]
[error] Error: Too many arguments. Run firebase help deploy for usage instructions

Op woensdag 22 augustus 2018 21:36:41 UTC+2 schreef Diana Tkachenko:

Diana Tkachenko

unread,
Aug 23, 2018, 12:10:30 PM8/23/18
to fireba...@googlegroups.com
Please paste the full output of firebase deploy as well as your firebase.json file.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/fb3ffd6d-d7cf-40bf-8d6a-290ff9694b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Douwe van Dijk

unread,
Aug 23, 2018, 2:58:14 PM8/23/18
to Firebase Google Group
Firebase debug-log:

[debug] [2018-08-23T18:55:45.864Z] ----------------------------------------------------------------------
[debug] [2018-08-23T18:55:45.868Z] Command: /usr/local/bin/node /usr/local/bin/firebase deploy sqapp --debug
[debug] [2018-08-23T18:55:45.868Z] CLI Version: 4.2.0
[debug] [2018-08-23T18:55:45.869Z] Platform: darwin
[debug] [2018-08-23T18:55:45.869Z] Node Version: v8.9.1
[debug] [2018-08-23T18:55:45.869Z] Time: Thu Aug 23 2018 20:55:45 GMT+0200 (CEST)
[debug] [2018-08-23T18:55:45.870Z] ----------------------------------------------------------------------
[debug]
[error]
[error] Error: Too many arguments. Run firebase help deploy for usage instructions


firebase.json

{
"hosting": {
"public": "/",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}


.firebaserc

{
  "projects": {
    "default": "sqtest-74071"
  },
  "targets": {
    "sqtest-74071": {
      "hosting": {
        "sqapp": [
          "sqiffer-app"
        ]
      }
    }
  }
}

Alex Memering

unread,
Aug 23, 2018, 3:40:51 PM8/23/18
to fireba...@googlegroups.com
Aha, I might have a guess.  There was an error in the Blog post originally, which has now been corrected (the syntax for the deploy command was wrong).  Try running `firebase deploy --only hosting:sqapp`.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--

Alex Memering | Software Engineer | meme...@google.com
Reply all
Reply to author
Forward
0 new messages