Skip to content

Unknown option: '--changeDetection' #177

Closed
@vdias38

Description

@vdias38

Hi,

I can't use changeDetection option with component generator, returns Unknown option

$ ionic info

Ionic:

   Ionic CLI                     : 5.2.6 (/Users/victor.dias/.nvm/versions/node/v12.6.0/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.8.1
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.0.0

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

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

System:

   NodeJS : v12.6.0 (/Users/victor.dias/.nvm/versions/node/v12.6.0/bin/node)
   npm    : 6.9.0
   OS     : macOS Mojave
$ ng g c items/components/item-headline --changeDetection=OnPush -d
Unknown option: '--changeDetection'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions