Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 9.1.1 broke firebase init and deploy #3000

Closed
AggelosM opened this issue Jan 7, 2021 · 6 comments · Fixed by #3001
Closed

Version 9.1.1 broke firebase init and deploy #3000

AggelosM opened this issue Jan 7, 2021 · 6 comments · Fixed by #3001

Comments

@AggelosM
Copy link

AggelosM commented Jan 7, 2021

[REQUIRED] Environment info

firebase-tools: 9.1.1

Platform: WSL2

[REQUIRED] Test case

firebase init doesn't work without an argument, and firebase serve says "Error: An unexpected error has occurred."

When downgrading to 9.1.0 none of these problems occur.

[REQUIRED] Steps to reproduce

Install the latest version and execute the above commands.

[REQUIRED] Expected behavior

firebase init works without an argument, and firebase serve serves

[REQUIRED] Actual behavior

firebase init doesn't work without an argument, and firebase serve says "Error: An unexpected error has occurred."


EDIT: I meant firebase serve not deploy, sorry!!

@MartinSeeler
Copy link

I can confirm, happened to me, too. After downgrade to 9.1.0 everything works.

❯ npm -v
7.3.0
❯ node -v
v15.5.1

@ralcar
Copy link

ralcar commented Jan 7, 2021

Same for me, how can such a huge bug slip through?

@samtstern samtstern self-assigned this Jan 7, 2021
@samtstern
Copy link
Contributor

samtstern commented Jan 7, 2021

Yikes ... I'll look into this now. In the meantime please downgrade!

Also I guess it's fitting that issue #3000 is "everything is broken". Wouldn't want to waste such a big number on something small 🤕

@samtstern
Copy link
Contributor

I was able to confirm the firebase init error and find a quick fix. I caused the error in #2946.

As for firebase deploy it seems to be working for me. I just deployed Database, Firestore, Hosting, and Functions with the latest CLI. Can someone here who is seeing a firebase deploy failure run firebase --debug deploy and show me the logs?

@AggelosM
Copy link
Author

AggelosM commented Jan 7, 2021

@samtstern I'm sorry I meant firebase serve not deploy! I edited the issue.

I have downgraded to 9.1.0 now but firebase --debug serve showed errors in firebase-tools

@google-oss-bot google-oss-bot added Needs: Attention and removed Needs: Author Feedback Issues awaiting author feedback labels Jan 7, 2021
@samtstern
Copy link
Contributor

@AggelosM thanks! I was able to find the error in firebase serve. By the way firebase serve is mostly deprecated, try using firebase emulators:start instead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants