wingsuit-designsystem / wingsuit

Twig for Storybook
GNU General Public License v2.0
91 stars 16 forks source link

Generating New Component using Wizard - Empty Options for App #138

Closed danleecpi closed 3 years ago

danleecpi commented 3 years ago

Describe the bug Generating a new component does not work. Returns empty options at the first question.

To Reproduce Steps to reproduce the behaviour:

  1. cd wingsuit
  2. wingsuit yarn ws generate-component
  3. Empty options on the first question
  4. See error

Expected behavior Options for the app after the question "Which app should be used? (Use arrow keys)"

Screenshots

Screenshot 2021-04-09 at 11 48 33

Desktop (please complete the following information):

iuscare commented 3 years ago

This seems to be @wingsuit-designsystem/cli version related. Switching back only the CLI verison to 1.0.0-rc.6 lets the error disappear and storybook be an option to be selected, whereas I am able to provoke the failure with CLI version 1.0.0 & 1.0.1, too.

christianwiedemann commented 3 years ago

Fixed it in 1.0.2.

christianwiedemann commented 3 years ago

Run yarn upgrade