Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when i tried ng add @ngrx/store@latest --minimal false

Tags:

angular

ngrx

When i tried useng add @ngrx/store@latest --minimal false in my angular poject i see next error

Schematic input does not validate against the Schema: {"minimal":"false"}
Errors:

  Data path "/minimal" must be boolean.

like image 697
FARCER Avatar asked Nov 01 '25 11:11

FARCER


1 Answers

Angular-CLI uses --option / --no-option for boolean flags (https://angular.io/cli#boolean-options).

In this case:

ng add @ngrx/store@latest --no-minimal
like image 163
dorwinrin Avatar answered Nov 04 '25 01:11

dorwinrin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!