aws-amplify / aws-amplify/amplify-cli

improve error messaging when CLI is unable to resolve project path (e.g. after moving the project to a different directory)

Đang mở
#9,653 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue ops-errors p2 platform
Ngôn ngữ chính
TypeScript
Star
2.9k
Fork
825
Merge trung bình
11 ngày 23 giờ
Pull request đã merge (30 ngày)
2

Mô tả

### Before opening, please confirm:

- [X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-cli/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-cli/blob/master/CONTRIBUTING.md#bug-reports).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

### How did you install the Amplify CLI?

_No response_

### If applicable, what version of Node.js are you using?

_No response_

### Amplify CLI Version

7.6.13

### What operating system are you using?

Mac

### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

### Amplify Categories

notifications

### Amplify Commands

add

### Describe the bug

When I tried adding notifications using `amplify add notifications` I started seeing this error below,
Screenshot 2022-01-30 at 3 33 56 PM

I have added a default configuration for **auth** with federal identities.

### Expected behavior

I was expected to enter my FCM cloud messaging credential input.

### Reproduction steps

1. Create an app using amplify init
2. Add auth with the default configuration and federal identities
3. add storage
4. add API
5. Add notification,

Started seeing this error.

### GraphQL schema(s)

```graphql
# Put schemas below this line

```

### Log output

```
# Put your logs below this line

```

### Additional information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện sự cố với `amplify init`, xác thực mặc định có danh tính liên kết, storage, API và `amplify add notifications` trên thiết lập Mac được nêu trong báo cáo. Bắt đầu từ lỗi phân giải đường dẫn CLI được hiển thị trong báo cáo; hoàn tất khi lỗi giải thích được tại sao không thể phân giải đường dẫn dự án và đưa ra bước tiếp theo rõ ràng thay vì lỗi hiện tại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, typescript
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
28/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.