Skip to content

generator.run is not a function when i use yo@5.0.0 #296

@zeevenn

Description

@zeevenn

Environment

  • Node version: v18.17.0
  • npm version: 9.6.7
  • Version of yo : 5.0.0

behavior

Run the following code:

yo node

After I complete the questions, it happens an error:

image

Accoring to issue796, maybe the yeoman-generator version is too old.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions