firebase / firebase/firebase-admin-node

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

Aperta
#2,078 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
api: database
Lingua principale
TypeScript
Stelle
1.7k
Fork
419
Merge medio
3g 10h
PR unite (30g)
16

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.