ionic-team / ionic-team/ionic-cli

ionic generate throws error when specified --no-module option

Aberta
#4,580 0 comentários 1 reação 0 responsáveis Ver no GitHub
triage
Linguagem predominante
TypeScript
Estrelas
2k
Forks
682
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Description:**

I have installed fresh ionic and tried to run a command to generate a component without module but it threw the following error:

>generate component BootScreen --no-module
ng.cmd generate component BootScreen --module=false --project=app
File false does not exist.
[ERROR] Could not generate component.

**Steps to Reproduce:**

`generate component BootScreen --no-module`

**Output:**

`File false does not exist.`

**My `ionic info`:**

```
Ionic:

Ionic CLI : 6.11.11 (C:\Users\Basheer\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.3.5
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3

Capacitor:

Capacitor CLI : 2.4.2
@capacitor/core : 2.4.2

Utility:

cordova-res : not installed
native-run : not installed

System:

NodeJS : v12.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.13.4
OS : Windows 10
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.