ionic-team / ionic-team/ionic-cli

V4: ionic generate class fails immediately on new blank app.

Đang mở
#3,458 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Bug Report

**Ionic Info**

```
Ionic:

ionic (Ionic CLI) : 4.0.2

System:

NodeJS : v8.11.3
npm : 6.2.0
OS : Windows 10
```

**Describe the Bug**
Immediately after creating a new blank application, I run `ionic generate class career`, it produces:
Tree type is not supported.
[ERROR] Could not generate class.

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Create a brand new blank ionic application.
2. Go to terminal, type ionic generate class career.
3. See error

**Related Code**
None.

**Expected Behavior**
Create a class somewhere in project structure called career.ts.

**Additional Context**
None.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.