Skip to content

Class extends value [object Module] is not a constructor or null #862

@anandmuthu1978

Description

@anandmuthu1978

Hello,

I tried the example of creating my own custom generator.

https://yeoman.io/authoring/

I copied 100% the code from package.json and index.js. Ran npm link too without any errors. When executing yo the following error occurs
Class extends value [object Module] is not a constructor or null

I tried this in two different environments, local PC and online IDE. Both have the latest nodejs installed.

What am I doing wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions