ionic-team / ionic-team/ionic-cli

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

Ouverte
#4,580 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
triage
Langage dominant
TypeScript
Étoiles
2k
Forks
682
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.