firebase / firebase/firebase-admin-node

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

Abierto
#2,078 1 comentario 0 reacciones 0 asignados Ver en GitHub
api: database
Lenguaje dominante
TypeScript
Estrellas
1.7k
Forks
419
Merge medio
3 d 10 h
PR fusionados (30 d)
16

Descripción

### [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](http://stackoverflow.com/)
with the firebase tag.
* For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/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](https://firebase.google.com/support/).

### [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](https://user-images.githubusercontent.com/15167801/220084288-02d4d5b2-d0db-4c3d-9dff-46ee077fd8e8.png)

#### 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
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.