firebase / firebase/firebase-admin-node
`firebase init` command initializes firebase-admin with wrong dependency version in package.json inside functions
- Ngôn ngữ chính
- TypeScript
- Star
- 1.7k
- Fork
- 419
- Merge trung bình
- 3 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 16
Mô tả
### [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**

#### 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
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Reproduce the issue by running firebase init, configuring Functions, and selecting npm install. Inspect the generated functions/package.json and compare the firebase-admin dependency version with the version accepted by npm; done means initialization creates a valid dependency and npm install succeeds.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- node.js
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100