ionic-team / ionic-team/ionic-cli

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

未关闭
#3,458 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。