The {{else if ...}} construct is not supported prior to handlebars v3.0.0. Based on yarn.lock, seems like plop is using handlebars 2.0.0.
Replace {{else if ...}} with a nested if/else block
Remove unnecessary branch point on {{#unless wantFlowTypes}} which will never be reached since that condition is already checked in an earlier if condition.
The
{{else if ...}}
construct is not supported prior to handlebars v3.0.0. Based on yarn.lock, seems like plop is using handlebars 2.0.0.{{else if ...}}
with a nestedif/else
block{{#unless wantFlowTypes}}
which will never be reached since that condition is already checked in an earlierif
condition.