ionic-team / ionic-team/ionic-cli

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

Open
#3,458 2 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.