Skip to content

firebase init command initializes firebase-admin with wrong dependency version in package.json inside functions #2078

Open
@skhan75

Description

@skhan75

[READ] Step 1: Are you in the right place?

  • For issues related to the code in this repository file a Github issue.
  • If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
    template.
  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Operating System version: Ubuntu 22.10
  • Firebase SDK version: 9.17.1
  • Firebase Product: database (auth, database, storage, etc)
  • Node.js version: 19.2.0
  • NPM version: 8.19.3

[REQUIRED] Step 3: Describe the problem

Invalid version being created by firebase init command
Screenshot from 2023-02-20 02-45-38

Steps to reproduce:

  1. Run firebase-init
  2. Select Configure functions in the CLI input
  3. Select npm install within the CLI and it will fail -- Reason --> invalid version for firebase-admin
    What happened? How can we make the problem occur?
    This could be a description, log/console output, etc.

Relevant Code:

// TODO(you): code here to reproduce the problem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions