WormieCorp / generator-cake-addin

A yeoman generator to get you quickly set up for writing Cake Addins
GNU General Public License v3.0
5 stars 4 forks source link

Incompatible with Yeoman 5.0 #623

Open nils-a opened 10 months ago

nils-a commented 10 months ago

Is there an existing issue for this?

Describe the bug

When running yo cake-addin, the output after inputting all the values is:

Error cake-addin

generator.run is not a function

Steps to reproduce

Expected behavior

The addin scaffolding should be created.

Environment

- **OS**: win 11
- **Project Version**: 1.6.0

Relevant log output

>21:48:36 ❯ yo cake-addin

     _-----_     ╭──────────────────────────╮
    |       |    │      Welcome to the      │
    |--(o)--|    │ cake-addin generator. We │
   `---------´   │   will now ask you some  │
    ( _´U`_ )    │  questions so we can set │
    /___A___\   /│  up your new Cake addin  │
     |  ~  |     │         project!         │
   __'.___.'__   ╰──────────────────────────╯
 ´   `  |° ´ Y `

? What is the name of the Cake addin project?  test-1
? Who is the repository owner/organization where the addin will located?  nils
? What is the github username of the main addin author?  nils
? What is the the name of Cake addin author?  Nils Andresen
? What is the description for the Cake addin?  Received
? What license will the Cake addin use?  MIT
? Where will the project source files be located?  ./src
? What is the name of the cake build script to use?  recipe.cake
? Do you want to add configurations for the All Contributors Bot?  No
? Do you want to use Wyam to generate documentation?  Yes
? Do you wish to enable travis builds?  No
? Do you wish to use tabs for indentation?  No
? What indent size do you wish to use (amount of spaces)?  4
? What indent size do you wish to use for yml/yaml files (amount of spaces)?  2
? Do you wish to use a CONTRIBUTING.md file?  No
Error cake-addin

generator.run is not a function

Code of Conduct

Anything else?

No response