Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown option: '--changeDetection' #177

Closed
vdias38 opened this issue Aug 28, 2019 · 3 comments
Closed

Unknown option: '--changeDetection' #177

vdias38 opened this issue Aug 28, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@vdias38
Copy link

vdias38 commented Aug 28, 2019

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 (cordova-lib@9.0.1)
   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'
@imhoffd imhoffd added the bug Something isn't working label Aug 30, 2019
@imhoffd imhoffd changed the title component generator unknown change detection option Unknown option: '--changeDetection' Aug 30, 2019
@imhoffd
Copy link
Contributor

imhoffd commented Aug 30, 2019

Duplicate of #94

@imhoffd imhoffd marked this as a duplicate of #94 Aug 30, 2019
@imhoffd imhoffd closed this as completed Aug 30, 2019
@vdias38
Copy link
Author

vdias38 commented Aug 30, 2019

Hi @dwieeb the issue #94 concerns same option (change-detection) must is not the same, as the option is known on #94 (maybe a previous version) but is unknown here.
But of course fixing #94 should guarantee the fix of this one...

@imhoffd
Copy link
Contributor

imhoffd commented Aug 30, 2019

Thanks for following up! I left a note in the other issue about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants